changeset 955:53249d9bb7a3

merge
author sam <sam@basx.dev>
date Mon, 01 Apr 2024 01:06:22 +0700
parents 79c0f3271748 (diff) a540a64b6990 (current diff)
children cca6f1a675db
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):