replace glfwWaitEvents with glfwWaitEventsTimeout

This commit is contained in:
MihailRis 2025-11-12 01:17:10 +03:00
parent fc68d6ceca
commit fb78e9f694

View File

@ -188,7 +188,7 @@ public:
codepoints.clear();
pressedKeys.clear();
if (waitForRefresh) {
glfwWaitEvents();
glfwWaitEventsTimeout(0.5);
} else {
glfwPollEvents();
}