Mercurial > games > semicongine
comparison semiconginev2/rendering.nim @ 1233:1cf698973dca
did: cleanup tests and old platform layer files
| author | sam <sam@basx.dev> |
|---|---|
| date | Fri, 19 Jul 2024 21:25:42 +0700 |
| parents | 70f6c1cfe005 |
| children | 841e12f33c47 |
comparison
equal
deleted
inserted
replaced
| 1232:32a977c71ba5 | 1233:1cf698973dca |
|---|---|
| 215 raise newException(Exception, errorMsg) | 215 raise newException(Exception, errorMsg) |
| 216 return false | 216 return false |
| 217 | 217 |
| 218 proc InitVulkan*(appName: string = "semicongine app") = | 218 proc InitVulkan*(appName: string = "semicongine app") = |
| 219 | 219 |
| 220 include ./platform/vulkan_extensions # for REQUIRED_PLATFORM_EXTENSIONS | |
| 221 | |
| 222 # instance creation | 220 # instance creation |
| 223 | 221 |
| 224 # enagle all kind of debug stuff | 222 # enagle all kind of debug stuff |
| 225 when not defined(release): | 223 when not defined(release): |
| 226 let requiredExtensions = REQUIRED_PLATFORM_EXTENSIONS & @["VK_KHR_surface", "VK_EXT_debug_utils"] | 224 let requiredExtensions = REQUIRED_PLATFORM_EXTENSIONS & @["VK_KHR_surface", "VK_EXT_debug_utils"] |
