mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Fixed test not compiling when USE_WIN32_THREAD_EMPTY_EVENT_TEST is not defined
This commit is contained in:
parent
3dc796da34
commit
1cbfe6be70
@ -105,7 +105,9 @@ int main(int argc, char** argv)
|
||||
if (!glfwInit())
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
#ifdef USE_WIN32_THREAD_EMPTY_EVENT_TEST
|
||||
glfwSetEmptyEventCallback(onEmptyEventPosted);
|
||||
#endif // USE_WIN32_THREAD_EMPTY_EVENT_TEST
|
||||
|
||||
glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE);
|
||||
glfwWindowHint(GLFW_WIN32_KEYBOARD_MENU, GLFW_TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user