Added preprocessor check for debug to turn off renderdoc
This commit is contained in:
parent
5fe10ce8d1
commit
544716547e
|
@ -52,7 +52,11 @@ namespace SHADE
|
||||||
/* BACKEND BOILERPLATE */
|
/* BACKEND BOILERPLATE */
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
// Set Up Instance
|
// Set Up Instance
|
||||||
|
#ifdef _DEBUG
|
||||||
SHVkInstance::Init(true, true, true);
|
SHVkInstance::Init(true, true, true);
|
||||||
|
#else
|
||||||
|
SHVkInstance::Init(true, false, true);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Get Physical Device and Construct Logical Device
|
// Get Physical Device and Construct Logical Device
|
||||||
physicalDevice = SHVkInstance::CreatePhysicalDevice(SH_PHYSICAL_DEVICE_TYPE::BEST);
|
physicalDevice = SHVkInstance::CreatePhysicalDevice(SH_PHYSICAL_DEVICE_TYPE::BEST);
|
||||||
|
|
Loading…
Reference in New Issue