Mercurial > games > semicongine
diff examples/E01_hello_triangle.nim @ 956:cca6f1a675db
fix: again, I think, I have now a correct syncing of vertex buffers updates and drawing of multiple frames in flight XD
author | sam <sam@basx.dev> |
---|---|
date | Mon, 01 Apr 2024 22:42:50 +0700 |
parents | 53249d9bb7a3 |
children | d27c8dbfef1c |
line wrap: on
line diff
--- a/examples/E01_hello_triangle.nim Mon Apr 01 01:06:22 2024 +0700 +++ b/examples/E01_hello_triangle.nim Mon Apr 01 22:42:50 2024 +0700 @@ -26,7 +26,7 @@ ) myengine = initEngine("Hello triangle", showFps = true) -myengine.initRenderer({VERTEX_COLORED_MATERIAL: shaderConfiguration}, vSync = false, inFlightFrames = 2) +myengine.initRenderer({VERTEX_COLORED_MATERIAL: shaderConfiguration}, inFlightFrames = 1) myengine.loadScene(scene) while myengine.updateInputs() == Running and not myengine.keyWasPressed(Escape):