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 runningOnMono;
|
||||
static bool runningOnAndroid;
|
||||
volatile static bool initialized;
|
||||
readonly static object InitLock = new object();
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ namespace OpenTK.Platform.Dummy
|
|||
{
|
||||
readonly GraphicsContext.GetAddressDelegate Loader;
|
||||
|
||||
bool vsync;
|
||||
int swap_interval;
|
||||
static int handle_count;
|
||||
Thread current_thread;
|
||||
|
|
|
@ -164,7 +164,6 @@ namespace OpenTK.Platform
|
|||
{
|
||||
#region Fields
|
||||
|
||||
bool disposed;
|
||||
static readonly string error_string = "Please, refer to http://www.opentk.com for more information.";
|
||||
|
||||
#endregion
|
||||
|
|
|
@ -49,7 +49,6 @@ namespace OpenTK.Platform.MacOS
|
|||
|
||||
CarbonWindowInfo carbonWindow;
|
||||
IntPtr shareContextRef;
|
||||
DisplayDevice device;
|
||||
bool mIsFullscreen = false;
|
||||
|
||||
public AglContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext)
|
||||
|
|
|
@ -64,8 +64,6 @@ namespace OpenTK.Platform.MacOS
|
|||
bool mExists = true;
|
||||
DisplayDevice mDisplayDevice;
|
||||
|
||||
WindowAttributes mWindowAttrib;
|
||||
WindowClass mWindowClass;
|
||||
WindowPositionMethod mPositionMethod = WindowPositionMethod.CenterOnMainScreen;
|
||||
int mTitlebarHeight;
|
||||
private WindowBorder windowBorder = WindowBorder.Resizable;
|
||||
|
|
|
@ -144,7 +144,7 @@ namespace OpenTK.Platform.Windows
|
|||
{
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue