Also make the loop flags volatile
This commit is contained in:
parent
89307727e7
commit
f5cf6c1dcb
1 changed files with 1 additions and 1 deletions
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 a new issue