diff --git a/intern/ghost/intern/GHOST_C-api.cpp b/intern/ghost/intern/GHOST_C-api.cpp index 986f88205c7..4da9392d4d0 100644 --- a/intern/ghost/intern/GHOST_C-api.cpp +++ b/intern/ghost/intern/GHOST_C-api.cpp @@ -1228,4 +1228,4 @@ void GHOST_GetVulkanBackbuffer(GHOST_WindowHandle windowhandle, window->getVulkanBackbuffer(image, framebuffer, render_pass, extent, fb_id); } -#endif /* WITH_VULKAN */ +#endif /* WITH_VULKAN_BACKEND */ diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 393944eac97..3e93fdc0b08 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -1226,7 +1226,7 @@ static GHOST_Context *create_glx_context(Window window, GHOST_Context *GHOST_WindowX11::newDrawingContext(GHOST_TDrawingContextType type) { -#if defined(WITH_VULKAN) +#if defined(WITH_VULKAN_BACKEND) if (type == GHOST_kDrawingContextTypeVulkan) { GHOST_Context *context = new GHOST_ContextVK(m_wantStereoVisual, GHOST_kVulkanPlatformX11,