Mercurial > games > semicongine
comparison semiconginev2/rendering.nim @ 1257:e9b8d87b9883
fix: super stupid bug in perspective matrix X(
author | sam <sam@basx.dev> |
---|---|
date | Sun, 28 Jul 2024 18:55:46 +0700 |
parents | bfb75c934f4e |
children |
comparison
equal
deleted
inserted
replaced
1256:bfb75c934f4e | 1257:e9b8d87b9883 |
---|---|
291 ) | 291 ) |
292 deviceExtensionsC = allocCStringArray(deviceExtensions) | 292 deviceExtensionsC = allocCStringArray(deviceExtensions) |
293 defer: deallocCStringArray(deviceExtensionsC) | 293 defer: deallocCStringArray(deviceExtensionsC) |
294 let enabledFeatures = VkPhysicalDeviceFeatures( | 294 let enabledFeatures = VkPhysicalDeviceFeatures( |
295 fillModeNonSolid: true, | 295 fillModeNonSolid: true, |
296 depthClamp: true, | |
296 wideLines: true, | 297 wideLines: true, |
297 largePoints: true, | 298 largePoints: true, |
298 ) | 299 ) |
299 var createDeviceInfo = VkDeviceCreateInfo( | 300 var createDeviceInfo = VkDeviceCreateInfo( |
300 sType: VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO, | 301 sType: VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO, |