mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 20:24:16 +01:00
Render reshade over dalamud on hook mode
This commit is contained in:
parent
d8861ec7da
commit
f0777106d3
1 changed files with 2 additions and 3 deletions
|
|
@ -83,12 +83,11 @@ internal unsafe partial class InterfaceManager
|
|||
this.reShadeDxgiSwapChainPresentHook is not null,
|
||||
"this.reShadeDxgiSwapChainPresentHook is not null");
|
||||
|
||||
// Call this first to draw Dalamud over ReShade.
|
||||
this.reShadeDxgiSwapChainPresentHook!.Original(swapChain, flags, presentParams);
|
||||
|
||||
if (this.RenderDalamudCheckAndInitialize(swapChain->AsIDxgiSwapChain(), flags) is { } activeScene)
|
||||
this.RenderDalamudDraw(activeScene);
|
||||
|
||||
this.reShadeDxgiSwapChainPresentHook!.Original(swapChain, flags, presentParams);
|
||||
|
||||
// Upstream call to system IDXGISwapChain::Present will be called by ReShade.
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue