mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
fix
This commit is contained in:
parent
0e6fb878bf
commit
be5a9077ca
2 changed files with 4 additions and 4 deletions
|
|
@ -93,5 +93,5 @@ void WindowControl::nextFrame(bool waitForRefresh) {
|
|||
);
|
||||
}
|
||||
window.swapBuffers();
|
||||
input.pollEvents(waitForRefresh);
|
||||
input.pollEvents(waitForRefresh && !window.checkShouldRefresh());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue