mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
Vulkan debug mode: In case of missing validation layers, warn, don't error out.
This commit is contained in:
parent
2d5e7c834c
commit
033676ca4d
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user