Skip to content

Commit

Permalink
Fix unhandled switch on Win32.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Jun 23, 2024
1 parent 2f4b10f commit 0528650
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vulkan/wsi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ bool WSI::init_surface_swapchain_dxgi(unsigned width, unsigned height)
case BackbufferFormat::HDR10:
format = { VK_FORMAT_A2B10G10R10_UNORM_PACK32, VK_COLOR_SPACE_HDR10_ST2084_EXT };
break;

default:
return false;
}

constexpr unsigned num_images = 3;
Expand Down

0 comments on commit 0528650

Please sign in to comment.