comparison tests/test_vulkan_wrapper.nim @ 979:6406766a222d

fix: tests
author sam <sam@basx.dev>
date Sat, 06 Apr 2024 15:27:09 +0700
parents 91e018270832
children 73b572f82a1f
comparison
equal deleted inserted replaced
978:d01d318c90f0 979:6406766a222d
231 for i in 0 ..< 1000: 231 for i in 0 ..< 1000:
232 if engine.updateInputs() != Running or engine.keyIsDown(Escape): 232 if engine.updateInputs() != Running or engine.keyIsDown(Escape):
233 engine.destroy() 233 engine.destroy()
234 return 234 return
235 engine.renderScene(scene) 235 engine.renderScene(scene)
236 echo "Rendered ", engine.framesRendered, " frames"
237 echo "Processed ", engine.eventsProcessed, " events"
238 236
239 # cleanup 237 # cleanup
240 echo "Start cleanup" 238 echo "Start cleanup"
241 engine.destroy() 239 engine.destroy()
242 240