mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 09:15:57 +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
|
||||
#endif
|
||||
|
||||
static atomic_int keep_going = 0, tick_callback_requested = 0;
|
||||
static volatile atomic_int keep_going = 0, tick_callback_requested = 0;
|
||||
|
||||
void _glfwPlatformRequestTickCallback() {
|
||||
EVDBG("tick_callback requested");
|
||||
|
||||
Reference in New Issue
Block a user