Replaced per-sample validation define with global define in base class
Toggling validation via command line arguments is the preferred way anyway Define was also added as a CMake option
This commit is contained in:
parent
a04a506353
commit
d0211d1f14
86 changed files with 90 additions and 205 deletions
|
|
@ -11,7 +11,6 @@
|
|||
#include "VulkanglTFModel.h"
|
||||
#include "frustum.hpp"
|
||||
|
||||
#define ENABLE_VALIDATION false
|
||||
|
||||
// Total number of objects (^3) in the scene
|
||||
#if defined(__ANDROID__)
|
||||
|
|
@ -89,7 +88,7 @@ public:
|
|||
|
||||
uint32_t objectCount = 0;
|
||||
|
||||
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
||||
VulkanExample() : VulkanExampleBase()
|
||||
{
|
||||
title = "Vulkan Example - Compute cull and lod";
|
||||
camera.type = Camera::CameraType::firstperson;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue