Skip to content

Commit

Permalink
Fix unused parameter warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Oct 26, 2023
1 parent 32de74d commit d50cd4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vulkan/wsi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ static bool init_surface_info(Device &device, WSIPlatform &platform,
VkSurfaceKHR surface, BackbufferFormat format,
PresentMode present_mode, SurfaceInfo &info, bool low_latency_mode_enable)
{
(void)low_latency_mode_enable;
if (surface == VK_NULL_HANDLE)
{
LOGE("Cannot create swapchain with surface == VK_NULL_HANDLE.\n");
Expand Down

0 comments on commit d50cd4d

Please sign in to comment.