test: isolate D3D9 path without Reset hook

This commit is contained in:
Dusk-92
2026-08-29 18:45:14 +02:00
parent b812006831
commit 1508f4d8a6
+2 -1
View File
@@ -1629,8 +1629,9 @@ pub fn installHooks() bool {
if (!patchVtableEntry(vtable_ptr, types.VT.EndScene, @intFromPtr(&hkEndScene), &orig_endscene)) return false;
if (!patchVtableEntry(vtable_ptr, types.VT.DrawIndexedPrimitive, @intFromPtr(&hkDIP), &orig_dip)) return false;
if (!patchVtableEntry(vtable_ptr, types.VT.Reset, @intFromPtr(&hkReset), &orig_reset)) return false;
// Isolation test: do not hook IDirect3DDevice9::Reset.
// EndScene + DIP remain active so the visible outline pipeline still runs.
hooks_installed = true;
return true;
}