procedural-3d-engine/examples/renderheadless
jeromenxp 1b22456d07 Change scope of validationExt and validationLayerName variables
Pointer to a variable declared into a block statement is stored and used outside of the block by vkCreateInstance. This can lead to segmentation fault.
Move the declaration of validationExt/validationLayerName outside of the block to fix the crash.
2021-01-18 17:41:41 +01:00
..
renderheadless.cpp Change scope of validationExt and validationLayerName variables 2021-01-18 17:41:41 +01:00