mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
cleanup SwapChainVtableResolver.cs
This commit is contained in:
parent
4c9f6e0d6f
commit
ca882386ea
2 changed files with 3 additions and 7 deletions
|
|
@ -1,16 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
using Dalamud.Game.Internal.DXGI.Definitions;
|
using Dalamud.Game.Internal.DXGI.Definitions;
|
||||||
using Serilog;
|
using Serilog;
|
||||||
using SharpDX.Direct3D;
|
|
||||||
using SharpDX.Direct3D11;
|
|
||||||
using SharpDX.DXGI;
|
|
||||||
|
|
||||||
using Device = SharpDX.Direct3D11.Device;
|
|
||||||
|
|
||||||
namespace Dalamud.Game.Internal.DXGI
|
namespace Dalamud.Game.Internal.DXGI
|
||||||
{
|
{
|
||||||
|
|
@ -59,6 +53,7 @@ namespace Dalamud.Game.Internal.DXGI
|
||||||
|
|
||||||
this.Present = p;
|
this.Present = p;
|
||||||
this.IsReshade = true;
|
this.IsReshade = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Numerics;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
@ -416,6 +416,7 @@ namespace Dalamud.Interface.Internal
|
||||||
return this.presentHook.Original(swapChain, syncInterval, presentFlags);
|
return this.presentHook.Original(swapChain, syncInterval, presentFlags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
private void RenderImGui()
|
private void RenderImGui()
|
||||||
{
|
{
|
||||||
// Process information needed by ImGuiHelpers each frame.
|
// Process information needed by ImGuiHelpers each frame.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue