Merge branch 'net5'

This commit is contained in:
goaaats 2022-06-27 20:44:44 +02:00
commit e8cb303314
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B

View file

@ -1079,7 +1079,7 @@ namespace Dalamud.Interface.Internal
return res.Value;
}
return this.dispatchMessageWHook.Original(ref msg);
return this.dispatchMessageWHook.IsDisposed ? User32.DispatchMessage(ref msg) : this.dispatchMessageWHook.Original(ref msg);
}
private IntPtr ResizeBuffersDetour(IntPtr swapChain, uint bufferCount, uint width, uint height, uint newFormat, uint swapChainFlags)