Move GLManager from Client.Common to Client.EmuHawk, it is inappropriate to be in Client.Common
This commit is contained in:
parent
6ff3215a5f
commit
2895c78be8
|
@ -113,9 +113,6 @@
|
|||
<Compile Include="CoreFileProvider.cs" />
|
||||
<Compile Include="ExceptionClasses.cs" />
|
||||
<Compile Include="FirmwareManager.cs" />
|
||||
<Compile Include="GLManager.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Global.cs" />
|
||||
<Compile Include="inputAdapters\AutoPattern.cs" />
|
||||
<Compile Include="inputAdapters\BitwiseAdapters.cs" />
|
||||
|
|
|
@ -549,6 +549,7 @@
|
|||
<Compile Include="Extensions\ControlExtensions.cs" />
|
||||
<Compile Include="Extensions\CoreExtensions.cs" />
|
||||
<Compile Include="Extensions\ToolExtensions.cs" />
|
||||
<Compile Include="GLManager.cs" />
|
||||
<Compile Include="GlobalWin.cs" />
|
||||
<Compile Include="Input\GamePad.cs" Condition=" '$(OS)' == 'Windows_NT' " />
|
||||
<Compile Include="Input\GamePad360.cs" />
|
||||
|
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using BizHawk.Bizware.BizwareGL;
|
||||
|
||||
|
||||
namespace BizHawk.Client.Common
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
/// <summary>
|
||||
/// This singleton class manages OpenGL contexts, in an effort to minimize context changes.
|
|
@ -9,6 +9,7 @@ using System.Drawing;
|
|||
|
||||
using BizHawk.Emulation.Common;
|
||||
using BizHawk.Client.Common;
|
||||
using BizHawk.Client.EmuHawk;
|
||||
using BizHawk.Client.EmuHawk.FilterManager;
|
||||
using BizHawk.Bizware.BizwareGL;
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ using System.Windows.Forms;
|
|||
|
||||
using BizHawk.Common;
|
||||
using BizHawk.Common.BufferExtensions;
|
||||
using BizHawk.Client.EmuHawk;
|
||||
using BizHawk.Bizware.BizwareGL;
|
||||
using BizHawk.Client.Common;
|
||||
using BizHawk.Emulation.Common;
|
||||
|
|
|
@ -13,6 +13,7 @@ using System.Windows.Forms;
|
|||
|
||||
using BizHawk.Common;
|
||||
using BizHawk.Common.IOExtensions;
|
||||
using BizHawk.Client.EmuHawk;
|
||||
using BizHawk.Bizware.BizwareGL;
|
||||
using BizHawk.Emulation.Common;
|
||||
using BizHawk.Emulation.Common.IEmulatorExtensions;
|
||||
|
@ -32,7 +33,7 @@ namespace BizHawk.Client.MultiHawk
|
|||
|
||||
public Mainform(string[] args)
|
||||
{
|
||||
BizHawk.Client.Common.GLManager.CreateInstance();
|
||||
GLManager.CreateInstance();
|
||||
|
||||
InitializeComponent();
|
||||
_throttle = new BizHawk.Client.EmuHawk.Throttle();
|
||||
|
@ -319,7 +320,7 @@ namespace BizHawk.Client.MultiHawk
|
|||
Emulator = loader.LoadedEmulator,
|
||||
|
||||
GL = new Bizware.BizwareGL.Drivers.OpenTK.IGL_TK(),
|
||||
GLManager = BizHawk.Client.Common.GLManager.Instance,
|
||||
GLManager = GLManager.Instance,
|
||||
Game = loader.Game,
|
||||
CurrentRomPath = loader.CanonicalFullPath
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue