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
|
#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");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user