Fixed test not compiling when USE_WIN32_THREAD_EMPTY_EVENT_TEST is not defined

This commit is contained in:
REghZy 2023-12-08 22:24:04 +00:00
parent 3dc796da34
commit 1cbfe6be70

View File

@ -105,7 +105,9 @@ int main(int argc, char** argv)
if (!glfwInit()) if (!glfwInit())
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
#ifdef USE_WIN32_THREAD_EMPTY_EVENT_TEST
glfwSetEmptyEventCallback(onEmptyEventPosted); glfwSetEmptyEventCallback(onEmptyEventPosted);
#endif // USE_WIN32_THREAD_EMPTY_EVENT_TEST
glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE); glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE);
glfwWindowHint(GLFW_WIN32_KEYBOARD_MENU, GLFW_TRUE); glfwWindowHint(GLFW_WIN32_KEYBOARD_MENU, GLFW_TRUE);