Add opt-in setting for RGP integration

This commit is contained in:
baldurk
2018-10-25 11:12:31 +01:00
parent bc274b5b51
commit 122f0af3aa
6 changed files with 61 additions and 4 deletions
@@ -291,6 +291,7 @@ bool PersistantConfig::Load(const rdcstr &filename)
}
RENDERDOC_SetConfigSetting("Disassembly_FriendlyNaming", ShaderViewer_FriendlyNaming ? "1" : "0");
RENDERDOC_SetConfigSetting("ExternalTool_RGPIntegration", ExternalTool_RGPIntegration ? "1" : "0");
RDDialog::DefaultBrowsePath = LastFileBrowsePath;
@@ -419,6 +420,7 @@ bool PersistantConfig::Save()
RemoteHostList.push_back(*host);
RENDERDOC_SetConfigSetting("Disassembly_FriendlyNaming", ShaderViewer_FriendlyNaming ? "1" : "0");
RENDERDOC_SetConfigSetting("ExternalTool_RGPIntegration", ExternalTool_RGPIntegration ? "1" : "0");
LastFileBrowsePath = RDDialog::DefaultBrowsePath;