summaryrefslogtreecommitdiff
path: root/inject
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2015-02-06 10:30:01 +0000
committerJosé Fonseca <jfonseca@vmware.com>2015-02-06 11:16:27 +0000
commite354d8de334a4ad52d131f0575ccf9f79e86cadd (patch)
treede4310570be1d1dc88b623b68eed4ea6f5c8878f /inject
parente5a86273d50e0cc1a1c3d25c40d616a076a2ce2a (diff)
dxgitrace: Trace D3DPERF_* functions too.
Diffstat (limited to 'inject')
-rw-r--r--inject/injectee.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/inject/injectee.cpp b/inject/injectee.cpp
index 9b44cc6c..7809c6d4 100644
--- a/inject/injectee.cpp
+++ b/inject/injectee.cpp
@@ -947,6 +947,7 @@ DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
registerModuleHooks("d3d10.dll", g_hHookModule);
registerModuleHooks("d3d10_1.dll", g_hHookModule);
registerModuleHooks("d3d11.dll", g_hHookModule);
+ registerModuleHooks("d3d9.dll", g_hHookModule); // for D3DPERF_*
} else if (stricmp(szNewDllBaseName, "d2d1trace.dll") == 0) {
registerModuleHooks("d2d1.dll", g_hHookModule);
registerModuleHooks("dwrite.dll", g_hHookModule);