mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
Also make the loop flags volatile
This commit is contained in:
2
glfw/main_loop.h
vendored
2
glfw/main_loop.h
vendored
@@ -13,7 +13,7 @@
|
|||||||
#define GLFW_LOOP_BACKEND x11
|
#define GLFW_LOOP_BACKEND x11
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static atomic_int keep_going = 0, tick_callback_requested = 0;
|
static volatile atomic_int keep_going = 0, tick_callback_requested = 0;
|
||||||
|
|
||||||
void _glfwPlatformRequestTickCallback() {
|
void _glfwPlatformRequestTickCallback() {
|
||||||
EVDBG("tick_callback requested");
|
EVDBG("tick_callback requested");
|
||||||
|
|||||||
Reference in New Issue
Block a user