mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 03:27:55 +03:00
Also make the loop flags volatile
This commit is contained in:
parent
89307727e7
commit
f5cf6c1dcb
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");
|
||||
|
Loading…
Reference in New Issue
Block a user