Added preprocessor check for debug to turn off renderdoc

This commit is contained in:
Xiao Qi 2022-11-03 02:37:38 +08:00
parent 5fe10ce8d1
commit 544716547e
1 changed files with 4 additions and 0 deletions

View File

@ -52,7 +52,11 @@ namespace SHADE
/* BACKEND BOILERPLATE */
/*-----------------------------------------------------------------------*/
// Set Up Instance
#ifdef _DEBUG
SHVkInstance::Init(true, true, true);
#else
SHVkInstance::Init(true, false, true);
#endif
// Get Physical Device and Construct Logical Device
physicalDevice = SHVkInstance::CreatePhysicalDevice(SH_PHYSICAL_DEVICE_TYPE::BEST);