changeset 1064:e1f92e3bec46

merge
author sam <sam@basx.dev>
date Mon, 01 Apr 2024 01:06:22 +0700
parents b3f782703aa5 (diff) e0e7cdea5e4c (current diff)
children 86b9721dfc09
files examples/E01_hello_triangle.nim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/examples/E01_hello_triangle.nim	Mon Apr 01 00:48:50 2024 +0700
+++ b/examples/E01_hello_triangle.nim	Mon Apr 01 01:06:22 2024 +0700
@@ -26,7 +26,7 @@
   )
   myengine = initEngine("Hello triangle", showFps = true)
 
-myengine.initRenderer({VERTEX_COLORED_MATERIAL: shaderConfiguration})
+myengine.initRenderer({VERTEX_COLORED_MATERIAL: shaderConfiguration}, vSync = false, inFlightFrames = 2)
 myengine.loadScene(scene)
 
 while myengine.updateInputs() == Running and not myengine.keyWasPressed(Escape):