remove unused experimental code

This commit is contained in:
CasualPokePlayer 2023-08-13 14:24:03 -07:00
parent ae42858560
commit 44dce7dc08
1 changed files with 0 additions and 6 deletions

View File

@ -29,7 +29,6 @@ namespace BizHawk.Bizware.Graphics
private const int D3DERR_DEVICENOTRESET = unchecked((int)0x88760869);
private Device _device;
private Size _maxWindowSize;
private SwapChain _controlSwapchain;
private IntPtr _offscreenSdl2Window;
@ -106,11 +105,6 @@ namespace BizHawk.Bizware.Graphics
flags |= CreateFlags.FpuPreserve;
_device = new(d3d9, 0, DeviceType.Hardware, pp.DeviceWindowHandle, flags, pp);
// save the maximum size a window backbuffer can be
// this allows us to avoid resetting the swapchain on resizing the window
var displayMode = d3d9.Adapters[0].CurrentDisplayMode;
_maxWindowSize = new(displayMode.Width, displayMode.Height);
}
private PresentParameters MakePresentParameters()