From c79e4b847fb082bc6dd1035ee104e9796ed12cc5 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 9 May 2016 21:51:57 +0200 Subject: [PATCH] Check explicitly for renderdoc.dll when ignoring hooks * This means even an exe named "RenderDoc Test Case.exe" would be hooked --- renderdoc/os/win32/win32_hook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/os/win32/win32_hook.cpp b/renderdoc/os/win32/win32_hook.cpp index 2ba66812f..0a807ebcc 100644 --- a/renderdoc/os/win32/win32_hook.cpp +++ b/renderdoc/os/win32/win32_hook.cpp @@ -131,7 +131,7 @@ struct CachedHookData // renderdoc.dll, or tries to load it. if(strstr(lowername, "fraps") || strstr(lowername, "gameoverlayrenderer") || - strstr(lowername, "renderdoc")) + strstr(lowername, "renderdoc.dll")) return; // for safety (and because we don't need to), ignore these modules