From 1508f4d8a6e9baca5b022d85c7ba1451d3613ec3 Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Sat, 29 Aug 2026 18:45:14 +0200 Subject: [PATCH] test: isolate D3D9 path without Reset hook --- src/outline/d3d9_hook.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/outline/d3d9_hook.zig b/src/outline/d3d9_hook.zig index 6aa4961..60964f7 100644 --- a/src/outline/d3d9_hook.zig +++ b/src/outline/d3d9_hook.zig @@ -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; }