mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Vulkan debug mode: In case of missing validation layers, warn, don't error out.
This commit is contained in:
1 parent
2d5e7c834c
commit
033676ca4d
1 file changed
+6
-6
@@ -149,16 +149,16 @@ VulkanContext::VulkanContext(const char *app_name, int app_ver, uint32_t flags)
|
||||
InitGlobalExtensionProperties();
|
||||
|
||||
if (!CheckLayers(instance_layer_properties, instance_layer_names)) {
|
||||
ELOG("CheckLayers failed");
|
||||
init_error_ = "Failed to validate instance layers";
|
||||
return;
|
||||
WLOG("CheckLayers failed");
|
||||
// init_error_ = "Failed to validate instance layers";
|
||||
// return;
|
||||
}
|
||||
|
||||
InitDeviceLayerProperties();
|
||||
if (!CheckLayers(device_layer_properties, device_layer_names)) {
|
||||
ELOG("CheckLayers failed (2)");
|
||||
init_error_ = "Failed to validate device layers";
|
||||
return;
|
||||
WLOG("CheckLayers failed (2)");
|
||||
// init_error_ = "Failed to validate device layers";
|
||||
// return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user