From aa7664eacc0d4084695e42475a18e28088b78465 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 5 Sep 2025 09:17:58 +0200 Subject: [PATCH] Fix: Incorrect test for WITH_GHOST_X11 --- intern/ghost/intern/GHOST_ContextVK.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/ghost/intern/GHOST_ContextVK.cc b/intern/ghost/intern/GHOST_ContextVK.cc index f2614f116e4..9a6b12b37e4 100644 --- a/intern/ghost/intern/GHOST_ContextVK.cc +++ b/intern/ghost/intern/GHOST_ContextVK.cc @@ -1334,7 +1334,7 @@ GHOST_TSuccess GHOST_ContextVK::initializeDrawingContext() instance_vk.extensions.enable(native_surface_extension_name); /* X11 doesn't use the correct swapchain offset, flipping can squash the first frames. */ const bool use_vk_ext_swapchain_maintenance1 = -#if WITH_GHOST_X11 +#ifdef WITH_GHOST_X11 platform_ != GHOST_kVulkanPlatformX11 && #endif instance_vk.extensions.is_supported(VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME) &&