mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 11:24:56 -04:00
render loop: poll events twice
That massively reduces latency
This commit is contained in:
parent
c62d6e2678
commit
f3e9eb3b87
@ -99,6 +99,7 @@ class RenderLoop(
|
|||||||
|
|
||||||
context.window.pollEvents()
|
context.window.pollEvents()
|
||||||
context.window.swapBuffers()
|
context.window.swapBuffers()
|
||||||
|
context.window.pollEvents()
|
||||||
|
|
||||||
context.input.draw(deltaFrameTime)
|
context.input.draw(deltaFrameTime)
|
||||||
context.camera.draw()
|
context.camera.draw()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user