Allow rdocself to register its vulkan layer

This commit is contained in:
baldurk
2020-05-07 22:46:42 +01:00
parent f7f3b7867a
commit 8638dddb84
+7 -1
View File
@@ -217,7 +217,13 @@ rdcstr GetJSONPath(bool wow6432)
if(wow6432)
jsonPath += "\\x86";
jsonPath += "\\renderdoc.json";
jsonPath += "\\";
rdcstr module_name;
FileIO::GetLibraryFilename(module_name);
jsonPath += strip_extension(get_basename(module_name));
jsonPath += ".json";
return jsonPath;
}