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");