diff --git a/RenderSystems/Vulkan/include/OgreVulkanRenderSystem.h b/RenderSystems/Vulkan/include/OgreVulkanRenderSystem.h index c4b232eb881..c47dc58d037 100644 --- a/RenderSystems/Vulkan/include/OgreVulkanRenderSystem.h +++ b/RenderSystems/Vulkan/include/OgreVulkanRenderSystem.h @@ -47,6 +47,9 @@ namespace Ogre * Implementation of Vulkan as a rendering system. * @{ */ + + #define USE_VALIDATION_LAYERS 0 + class _OgreVulkanExport VulkanRenderSystem : public RenderSystem { friend class VulkanSampler; diff --git a/RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp b/RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp index bb510c94bf2..3f566e954e4 100644 --- a/RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp +++ b/RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp @@ -52,8 +52,6 @@ THE SOFTWARE. #include "OgreVulkanWindow.h" #include "OgrePixelFormat.h" -#define USE_VALIDATION_LAYERS 0 - namespace Ogre { static const uint32 VERTEX_ATTRIBUTE_INDEX[VES_COUNT] =