# HG changeset patch # User sam # Date 1711908382 -25200 # Node ID e1f92e3bec461bd60bea8fdb033cb821cd3bca80 # Parent b3f782703aa5c44282b46cc88c9813058a49cd87# Parent e0e7cdea5e4c97882301d0219e40a0d4fa5a3fbe merge diff -r e0e7cdea5e4c -r e1f92e3bec46 examples/E01_hello_triangle.nim --- 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):