mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Vulkan: Check default case with an assert.
This commit is contained in:
parent
3e51fc5a89
commit
9f98f440c8
1 changed files with 2 additions and 0 deletions
|
@ -1014,6 +1014,8 @@ bool VulkanContext::InitSwapchain() {
|
|||
g_display_rot_matrix.setRotationZ270();
|
||||
std::swap(swapChainExtent_.width, swapChainExtent_.height);
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
}
|
||||
} else {
|
||||
// Let the OS rotate the image (potentially slow on many Android devices)
|
||||
|
|
Loading…
Add table
Reference in a new issue