Skip to content
Permalink
Browse files

Vulkan: Check default case with an assert.

  • Loading branch information...
unknownbrackets committed Aug 17, 2019
1 parent 3e51fc5 commit 9f98f440c825b6b311c746f62e3ff383495a3f1e
Showing with 2 additions and 0 deletions.
  1. +2 −0 Common/Vulkan/VulkanContext.cpp
@@ -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)

0 comments on commit 9f98f44

Please sign in to comment.
You can’t perform that action at this time.