mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #476 from lmcintyre/viewport-fix
This commit is contained in:
commit
c079ca60e0
2 changed files with 4 additions and 1 deletions
|
|
@ -329,6 +329,9 @@ namespace Dalamud.Interface.Internal
|
|||
|
||||
private IntPtr PresentDetour(IntPtr swapChain, uint syncInterval, uint presentFlags)
|
||||
{
|
||||
if (this.scene != null && swapChain != this.scene.SwapChain.NativePointer)
|
||||
return this.presentHook.Original(swapChain, syncInterval, presentFlags);
|
||||
|
||||
if (this.scene == null)
|
||||
{
|
||||
this.scene = new RawDX11Scene(swapChain);
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 56278a1158cecd597e4619641f4e0b90cdbc3d6e
|
||||
Subproject commit f54c1d79540cd7789900b23459c6c14ed74127e2
|
||||
Loading…
Add table
Add a link
Reference in a new issue