Also make the loop flags volatile

This commit is contained in:
Kovid Goyal 2019-07-17 19:55:19 +05:30
parent 89307727e7
commit f5cf6c1dcb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

2
glfw/main_loop.h vendored
View File

@ -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");