Vulkan: Check default case with an assert.

This commit is contained in:
Unknown W. Brackets 2019-08-17 10:59:08 -07:00
parent 3e51fc5a89
commit 9f98f440c8

View file

@ -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)