diff options
author | José Fonseca <jfonseca@vmware.com> | 2015-02-06 10:30:01 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2015-02-06 11:16:27 +0000 |
commit | e354d8de334a4ad52d131f0575ccf9f79e86cadd (patch) | |
tree | de4310570be1d1dc88b623b68eed4ea6f5c8878f /inject | |
parent | e5a86273d50e0cc1a1c3d25c40d616a076a2ce2a (diff) |
dxgitrace: Trace D3DPERF_* functions too.
Diffstat (limited to 'inject')
-rw-r--r-- | inject/injectee.cpp | 1 |
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); |