mirror of
https://github.com/Toastconcern/FrameStudio.git
synced 2026-10-29 00:02:23 +01:00
The compositor records its environment on a deferred D3D11 context, a different object with its own vtable than the immediate context we hooked — so our draw hooks never saw it and the home never replaced Aurora (connected, but 0 draws). Hook every context's vtable: the immediate one, and each deferred one as CreateDeferredContext / CreateDeferredContext1 makes it, keeping each vtable's own original draw/PSSetShader so calls dispatch correctly. classify and the constant-buffer upload now work on whichever context records the draw. Also fix the crash guard false-tripping: it armed when Frame Home connected and disarmed only after 30 drawn frames, so when the home never drew (this very bug) every compositor restart counted as a crash and it wrote . Arm only once we actually swap a draw, so never-drawing can't be mistaken for crashing. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>