mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't apply renderdoc hooks to renderdoc.dll. Things go... badly
This commit is contained in:
@@ -125,8 +125,12 @@ struct CachedHookData
|
||||
// instead, skip modifying the import descriptors, it will hook the 'real' d3d functions
|
||||
// and we can call them and have fraps + renderdoc playing nicely together.
|
||||
// we also exclude some other overlay renderers here, such as steam's
|
||||
//
|
||||
// Also we exclude ourselves here - just in case the application has already loaded
|
||||
// renderdoc.dll, or tries to load it.
|
||||
if(strstr(lowername, "fraps") ||
|
||||
strstr(lowername, "gameoverlayrenderer"))
|
||||
strstr(lowername, "gameoverlayrenderer") ||
|
||||
strstr(lowername, "renderdoc"))
|
||||
return;
|
||||
|
||||
// for safety (and because we don't need to), ignore these modules
|
||||
|
||||
Reference in New Issue
Block a user