allow vulkan validation layers in release builds if explicity asked for
This commit is contained in:
parent
9a3d3df0e2
commit
e9527d0353
3 changed files with 3 additions and 4 deletions
|
|
@ -302,7 +302,7 @@ Error VulkanContext::_create_physical_device() {
|
|||
/*flags*/ 0,
|
||||
/*pApplicationInfo*/ &app,
|
||||
/*enabledLayerCount*/ enabled_layer_count,
|
||||
/*ppEnabledLayerNames*/ (const char *const *)instance_validation_layers,
|
||||
/*ppEnabledLayerNames*/ (const char *const *)enabled_layers,
|
||||
/*enabledExtensionCount*/ enabled_extension_count,
|
||||
/*ppEnabledExtensionNames*/ (const char *const *)extension_names,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue