Fix: Incorrect test for WITH_GHOST_X11
This commit is contained in:
@@ -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) &&
|
||||
|
||||
Reference in New Issue
Block a user