Skip to content

Commit

Permalink
Vulkan: move USE_VALIDATION_LAYERS define to header
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Sep 21, 2024
1 parent 99ed86d commit d066d1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions RenderSystems/Vulkan/include/OgreVulkanRenderSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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] =
Expand Down

0 comments on commit d066d1f

Please sign in to comment.