write code

This commit is contained in:
Soreepeong 2024-07-25 21:07:49 +09:00
parent ef64a67d10
commit d8861ec7da
6 changed files with 46 additions and 46 deletions

View file

@ -46,6 +46,14 @@ internal unsafe partial class InterfaceManager
this.RenderDalamudDraw(activeScene);
}
private void ReShadeAddonInterfaceOnReShadeOverlay(ref ReShadeAddonInterface.ApiObject runtime)
{
var swapChainNative = runtime.GetNative<IDXGISwapChain>();
if (this.RenderDalamudCheckAndInitialize(swapChainNative, 0) is { } activeScene)
this.RenderDalamudDraw(activeScene);
}
private int AsReShadeAddonDxgiSwapChainResizeBuffersDetour(
IDXGISwapChain* swapChain,
uint bufferCount,