From 163d6e64702bd247d6a04df83a738d1855fd5cdd Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Sat, 29 Aug 2026 18:32:38 +0200 Subject: [PATCH] test: disable automatic D3D9 rehook during rendering --- src/outline/model_hook.zig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/outline/model_hook.zig b/src/outline/model_hook.zig index 8386141..bbcdd64 100644 --- a/src/outline/model_hook.zig +++ b/src/outline/model_hook.zig @@ -94,10 +94,8 @@ fn renderDrawDetour(this: u32, view_matrix: u32, batch_data: u32, batch_indices: api.initD3D9Deferred(); } - // AutoFix: OutlineDebug() previously performed lateRehookIfLost() by hand. - // Check periodically from this always-active native model hook instead. - autoRepairD3D9Hooks(); - + // Isolation test: keep the initial deferred D3D9 hook install, but do not + // repeatedly verify/rewrite the live vtable while rendering. // Skip reordering if nothing to outline or too many batches if (!tracker.enabled or !tracker.hasTargets() or batch_count == 0 or batch_count > MAX_REORDER) { render_draw_hook.callOriginal(.{ this, view_matrix, batch_data, batch_indices, batch_count });