From d50cd4d903b2fcc9c3f7d5cc5755abc8f4fddd15 Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Thu, 26 Oct 2023 12:02:37 +0200 Subject: [PATCH] Fix unused parameter warning. --- vulkan/wsi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/vulkan/wsi.cpp b/vulkan/wsi.cpp index 9604b75c..39dabeef 100644 --- a/vulkan/wsi.cpp +++ b/vulkan/wsi.cpp @@ -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");