Mercurial > games > semicongine
comparison tests/test_gltf.nim @ 1305:21c4e598d820
did: work on cursor issues, but now sync unfinished things to notebook
author | sam <sam@basx.dev> |
---|---|
date | Wed, 07 Aug 2024 19:09:03 +0700 |
parents | 6d0162bfe48a |
children | 7be3628298f5 |
comparison
equal
deleted
inserted
replaced
1304:49428fc7921c | 1305:21c4e598d820 |
---|---|
204 initVulkan() | 204 initVulkan() |
205 | 205 |
206 var renderpass = createDirectPresentationRenderPass(depthBuffer = true, samples = VK_SAMPLE_COUNT_4_BIT) | 206 var renderpass = createDirectPresentationRenderPass(depthBuffer = true, samples = VK_SAMPLE_COUNT_4_BIT) |
207 setupSwapchain(renderpass = renderpass) | 207 setupSwapchain(renderpass = renderpass) |
208 lockMouse(true) | 208 lockMouse(true) |
209 showSystemCursor(false) | 209 # showSystemCursor(false) |
210 | 210 |
211 # tests a simple triangle with minimalistic shader and vertex format | 211 # tests a simple triangle with minimalistic shader and vertex format |
212 test_gltf(time) | 212 test_gltf(time) |
213 | 213 |
214 checkVkResult vkDeviceWaitIdle(vulkan.device) | 214 checkVkResult vkDeviceWaitIdle(vulkan.device) |