mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Vulkan: Don't panic on missing color/depth buffer in config
This commit is contained in:
parent
2644e920cc
commit
fa8262fa4a
@ -130,6 +130,9 @@ VkFormat GetVkFormatForHostTextureFormat(AbstractTextureFormat format)
|
||||
case AbstractTextureFormat::D32F_S8:
|
||||
return VK_FORMAT_D32_SFLOAT_S8_UINT;
|
||||
|
||||
case AbstractTextureFormat::Undefined:
|
||||
return VK_FORMAT_UNDEFINED;
|
||||
|
||||
default:
|
||||
PanicAlert("Unhandled texture format.");
|
||||
return VK_FORMAT_R8G8B8A8_UNORM;
|
||||
|
Loading…
Reference in New Issue
Block a user