Require explicit opt-in to enable RGP integration (default is not "0")

This commit is contained in:
baldurk
2018-11-22 14:05:26 +00:00
parent 09d63180d1
commit c3c9f82b87
+1 -1
View File
@@ -68,7 +68,7 @@ AMDRGPControl::AMDRGPControl()
m_RGPDispatchTable->minorVersion = DEV_DRIVER_API_MINOR_VERSION;
m_RGPContext = NULL;
const bool enabled = RenderDoc::Inst().GetConfigSetting("ExternalTool_RGPIntegration") != "0";
const bool enabled = RenderDoc::Inst().GetConfigSetting("ExternalTool_RGPIntegration") == "1";
if(!enabled)
{