diff --git a/src/VmaReplay/VmaUsage.h b/src/VmaReplay/VmaUsage.h index 22ba27e..a2d2e97 100644 --- a/src/VmaReplay/VmaUsage.h +++ b/src/VmaReplay/VmaUsage.h @@ -26,7 +26,9 @@ #define WIN32_LEAN_AND_MEAN #include -#define VK_USE_PLATFORM_WIN32_KHR +#if !defined(VK_USE_PLATFORM_WIN32_KHR) + #define VK_USE_PLATFORM_WIN32_KHR +#endif // #if !defined(VK_USE_PLATFORM_WIN32_KHR) #include //#define VMA_USE_STL_CONTAINERS 1 diff --git a/src/VmaUsage.h b/src/VmaUsage.h index 52c0513..10714e7 100644 --- a/src/VmaUsage.h +++ b/src/VmaUsage.h @@ -28,7 +28,9 @@ #define NOMINMAX #define WIN32_LEAN_AND_MEAN #include -#define VK_USE_PLATFORM_WIN32_KHR +#if !defined(VK_USE_PLATFORM_WIN32_KHR) + #define VK_USE_PLATFORM_WIN32_KHR +#endif // #if !defined(VK_USE_PLATFORM_WIN32_KHR) #else // #ifdef _WIN32