Permalink
Browse files

Remove unused fields and variables.

  • Loading branch information...
1 parent ab0751e commit b80bb86c5bcf39187bc7d43774f5db58b482c858 @Frassle Frassle committed Feb 22, 2014
@@ -44,7 +44,6 @@ public sealed class Configuration
{
static bool runningOnWindows, runningOnUnix, runningOnX11, runningOnMacOS, runningOnLinux;
static bool runningOnMono;
- static bool runningOnAndroid;
volatile static bool initialized;
readonly static object InitLock = new object();
@@ -24,7 +24,6 @@ internal sealed class DummyGLContext : DesktopGraphicsContext
{
readonly GraphicsContext.GetAddressDelegate Loader;
- bool vsync;
int swap_interval;
static int handle_count;
Thread current_thread;
@@ -164,7 +164,6 @@ class UnsupportedPlatform : PlatformFactoryBase
{
#region Fields
- bool disposed;
static readonly string error_string = "Please, refer to http://www.opentk.com for more information.";
#endregion
@@ -49,7 +49,6 @@ class AglContext : DesktopGraphicsContext
CarbonWindowInfo carbonWindow;
IntPtr shareContextRef;
- DisplayDevice device;
bool mIsFullscreen = false;
public AglContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext)
@@ -64,8 +64,6 @@ class CarbonGLNative : INativeWindow
bool mExists = true;
DisplayDevice mDisplayDevice;
- WindowAttributes mWindowAttrib;
- WindowClass mWindowClass;
WindowPositionMethod mPositionMethod = WindowPositionMethod.CenterOnMainScreen;
int mTitlebarHeight;
private WindowBorder windowBorder = WindowBorder.Resizable;
@@ -144,7 +144,7 @@ protected override void CreateDrivers()
{
gamepad_driver = new XInputJoystick();
}
- catch (Exception e)
+ catch (Exception)
{
Debug.Print("[Win] XInput driver not supported, falling back to WinMM");
gamepad_driver = new MappedGamePadDriver();
@@ -34,8 +34,6 @@ namespace OpenTK.Platform.X11
{
class X11Factory : PlatformFactoryBase
{
- bool disposed;
-
#region Constructors
public X11Factory()

0 comments on commit b80bb86

Please sign in to comment.