This commit is contained in:
MihailRis
2025-11-10 00:16:06 +03:00
parent 0e6fb878bf
commit be5a9077ca
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -93,5 +93,5 @@ void WindowControl::nextFrame(bool waitForRefresh) {
);
}
window.swapBuffers();
input.pollEvents(waitForRefresh);
input.pollEvents(waitForRefresh && !window.checkShouldRefresh());
}