From 44194579a55c3e2b017a1cf6fe2d63ee6167d71a Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 26 Sep 2025 10:02:09 +0200 Subject: [PATCH] Cleanup: Silence compilation warning This change silences a compilation warning on non windows/x64 systems. --- intern/ghost/intern/GHOST_ContextVK.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/intern/ghost/intern/GHOST_ContextVK.cc b/intern/ghost/intern/GHOST_ContextVK.cc index 556a31ece6b..14a1059b1a8 100644 --- a/intern/ghost/intern/GHOST_ContextVK.cc +++ b/intern/ghost/intern/GHOST_ContextVK.cc @@ -21,6 +21,10 @@ #include "vulkan/vk_ghost_api.hh" +#if !defined(_WIN32) or defined(_M_ARM64) +/* Silence compilation warning on non-windows x64 systems. */ +# define VMA_EXTERNAL_MEMORY_WIN32 0 +#endif #include "vk_mem_alloc.h" #include "CLG_log.h"