Skip to content

Commit 8e0f9cd

Browse files
author
ryuukk
authored
glfwWaitEvents is the right one
1 parent 773f862 commit 8e0f9cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/system/win/sys_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ bool sys_main_c::Run(int argc, char** argv)
843843
// Run frame loop
844844
while (exitFlag == false) {
845845
if (minimized)
846-
glfwWaitEventsTimeout(); // while minimized, puts process to sleep until it receives an event
846+
glfwWaitEvents(); // while minimized, puts process to sleep until it receives an event
847847
else
848848
glfwPollEvents();
849849
auto wnd = (GLFWwindow*)video->GetWindowHandle();

0 commit comments

Comments
 (0)