mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Fix load order
This commit is contained in:
parent
d16e783466
commit
0d66c7fd75
1 changed files with 4 additions and 3 deletions
|
|
@ -817,8 +817,12 @@ internal class InterfaceManager : IInternalDisposableService
|
||||||
// This will wait for scene on its own. We just wait for this.dalamudAtlas.BuildTask in this.InitScene.
|
// This will wait for scene on its own. We just wait for this.dalamudAtlas.BuildTask in this.InitScene.
|
||||||
_ = this.dalamudAtlas.BuildFontsAsync();
|
_ = this.dalamudAtlas.BuildFontsAsync();
|
||||||
|
|
||||||
|
SwapChainHelper.BusyWaitForGameDeviceSwapChain();
|
||||||
|
SwapChainHelper.DetectReShade();
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
// Requires that game window to be there, which will be the case once game swap chain is initialized.
|
||||||
if (Service<DalamudConfiguration>.Get().WindowIsImmersive)
|
if (Service<DalamudConfiguration>.Get().WindowIsImmersive)
|
||||||
this.SetImmersiveMode(true);
|
this.SetImmersiveMode(true);
|
||||||
}
|
}
|
||||||
|
|
@ -834,9 +838,6 @@ internal class InterfaceManager : IInternalDisposableService
|
||||||
0,
|
0,
|
||||||
this.SetCursorDetour);
|
this.SetCursorDetour);
|
||||||
|
|
||||||
SwapChainHelper.BusyWaitForGameDeviceSwapChain();
|
|
||||||
SwapChainHelper.DetectReShade();
|
|
||||||
|
|
||||||
Log.Verbose("===== S W A P C H A I N =====");
|
Log.Verbose("===== S W A P C H A I N =====");
|
||||||
this.resizeBuffersHook = Hook<ResizeBuffersDelegate>.FromAddress(
|
this.resizeBuffersHook = Hook<ResizeBuffersDelegate>.FromAddress(
|
||||||
(nint)SwapChainHelper.GameDeviceSwapChainVtbl->ResizeBuffers,
|
(nint)SwapChainHelper.GameDeviceSwapChainVtbl->ResizeBuffers,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue