Mercurial > games > semicongine
comparison tests/test_vulkan_wrapper.nim @ 1135:74957cbf589b
fix: update tests according to some API renaming
author | sam <sam@basx.dev> |
---|---|
date | Mon, 03 Jun 2024 16:05:17 +0700 |
parents | 73b572f82a1f |
children | 71315636ba82 |
comparison
equal
deleted
inserted
replaced
1134:055eb17ce31e | 1135:74957cbf589b |
---|---|
237 echo "Setup successfull, start rendering" | 237 echo "Setup successfull, start rendering" |
238 for i in 0 ..< 3: | 238 for i in 0 ..< 3: |
239 for scene in scenes.mitems: | 239 for scene in scenes.mitems: |
240 echo "rendering scene ", scene.name | 240 echo "rendering scene ", scene.name |
241 for i in 0 ..< 1000: | 241 for i in 0 ..< 1000: |
242 if not engine.updateInputs() or keyIsDown(Escape): | 242 if not engine.UpdateInputs() or KeyIsDown(Escape): |
243 engine.destroy() | 243 engine.destroy() |
244 return | 244 return |
245 engine.renderScene(scene) | 245 engine.renderScene(scene) |
246 | 246 |
247 # cleanup | 247 # cleanup |