Process capture options when first setting env vars for vulkan

This commit is contained in:
baldurk
2016-05-04 22:11:53 +02:00
parent 274dbcd4ef
commit c1651e6362
+3 -2
View File
@@ -62,8 +62,9 @@ class VulkanHook : LibraryHook
{
// we assume the implicit layer is registered - the UI will prompt the user about installing it.
Process::RegisterEnvironmentModification(Process::EnvironmentModification(Process::eEnvModification_Replace, "ENABLE_VULKAN_RENDERDOC_CAPTURE", "1"));
Process::ApplyEnvironmentModification();
// check options to set further variables, and apply
OptionsUpdated(libName);
return true;
}