Mercurial > games > semicongine
diff examples/E01_hello_triangle.nim @ 1066:92f0db6bbd69
fix: always forget to reset this one when debugging :)
author | sam <sam@basx.dev> |
---|---|
date | Tue, 02 Apr 2024 00:37:42 +0700 |
parents | 86b9721dfc09 |
children | d6c27f0ed3e4 |
line wrap: on
line diff
--- a/examples/E01_hello_triangle.nim Mon Apr 01 22:42:50 2024 +0700 +++ b/examples/E01_hello_triangle.nim Tue Apr 02 00:37:42 2024 +0700 @@ -26,7 +26,7 @@ ) myengine = initEngine("Hello triangle", showFps = true) -myengine.initRenderer({VERTEX_COLORED_MATERIAL: shaderConfiguration}, inFlightFrames = 1) +myengine.initRenderer({VERTEX_COLORED_MATERIAL: shaderConfiguration}, inFlightFrames = 2) myengine.loadScene(scene) while myengine.updateInputs() == Running and not myengine.keyWasPressed(Escape):