Remove unused fields and variables.
This commit is contained in:
parent
ab0751e7ec
commit
b80bb86c5b
7 changed files with 1 additions and 9 deletions
|
@ -44,7 +44,6 @@ namespace OpenTK
|
||||||
{
|
{
|
||||||
static bool runningOnWindows, runningOnUnix, runningOnX11, runningOnMacOS, runningOnLinux;
|
static bool runningOnWindows, runningOnUnix, runningOnX11, runningOnMacOS, runningOnLinux;
|
||||||
static bool runningOnMono;
|
static bool runningOnMono;
|
||||||
static bool runningOnAndroid;
|
|
||||||
volatile static bool initialized;
|
volatile static bool initialized;
|
||||||
readonly static object InitLock = new object();
|
readonly static object InitLock = new object();
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ namespace OpenTK.Platform.Dummy
|
||||||
{
|
{
|
||||||
readonly GraphicsContext.GetAddressDelegate Loader;
|
readonly GraphicsContext.GetAddressDelegate Loader;
|
||||||
|
|
||||||
bool vsync;
|
|
||||||
int swap_interval;
|
int swap_interval;
|
||||||
static int handle_count;
|
static int handle_count;
|
||||||
Thread current_thread;
|
Thread current_thread;
|
||||||
|
|
|
@ -164,7 +164,6 @@ namespace OpenTK.Platform
|
||||||
{
|
{
|
||||||
#region Fields
|
#region Fields
|
||||||
|
|
||||||
bool disposed;
|
|
||||||
static readonly string error_string = "Please, refer to http://www.opentk.com for more information.";
|
static readonly string error_string = "Please, refer to http://www.opentk.com for more information.";
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
@ -49,7 +49,6 @@ namespace OpenTK.Platform.MacOS
|
||||||
|
|
||||||
CarbonWindowInfo carbonWindow;
|
CarbonWindowInfo carbonWindow;
|
||||||
IntPtr shareContextRef;
|
IntPtr shareContextRef;
|
||||||
DisplayDevice device;
|
|
||||||
bool mIsFullscreen = false;
|
bool mIsFullscreen = false;
|
||||||
|
|
||||||
public AglContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext)
|
public AglContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext)
|
||||||
|
|
|
@ -64,8 +64,6 @@ namespace OpenTK.Platform.MacOS
|
||||||
bool mExists = true;
|
bool mExists = true;
|
||||||
DisplayDevice mDisplayDevice;
|
DisplayDevice mDisplayDevice;
|
||||||
|
|
||||||
WindowAttributes mWindowAttrib;
|
|
||||||
WindowClass mWindowClass;
|
|
||||||
WindowPositionMethod mPositionMethod = WindowPositionMethod.CenterOnMainScreen;
|
WindowPositionMethod mPositionMethod = WindowPositionMethod.CenterOnMainScreen;
|
||||||
int mTitlebarHeight;
|
int mTitlebarHeight;
|
||||||
private WindowBorder windowBorder = WindowBorder.Resizable;
|
private WindowBorder windowBorder = WindowBorder.Resizable;
|
||||||
|
|
|
@ -144,7 +144,7 @@ namespace OpenTK.Platform.Windows
|
||||||
{
|
{
|
||||||
gamepad_driver = new XInputJoystick();
|
gamepad_driver = new XInputJoystick();
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
Debug.Print("[Win] XInput driver not supported, falling back to WinMM");
|
Debug.Print("[Win] XInput driver not supported, falling back to WinMM");
|
||||||
gamepad_driver = new MappedGamePadDriver();
|
gamepad_driver = new MappedGamePadDriver();
|
||||||
|
|
|
@ -34,8 +34,6 @@ namespace OpenTK.Platform.X11
|
||||||
{
|
{
|
||||||
class X11Factory : PlatformFactoryBase
|
class X11Factory : PlatformFactoryBase
|
||||||
{
|
{
|
||||||
bool disposed;
|
|
||||||
|
|
||||||
#region Constructors
|
#region Constructors
|
||||||
|
|
||||||
public X11Factory()
|
public X11Factory()
|
||||||
|
|
Loading…
Reference in a new issue