Merge pull request #591 from Frassle/buildwarnings

Fix some simple build warnings
This commit is contained in:
Jarl Gullberg 2017-07-24 16:08:26 +02:00 committed by GitHub
commit 49244d26a4
2 changed files with 2 additions and 6 deletions

View file

@ -150,6 +150,7 @@ namespace OpenTK.Rewrite
catch (InvalidOperationException inex)
{
Console.WriteLine("Failed to load the assembly. It may already have been rewritten, and the debug symbols no longer match.");
Console.WriteLine(inex);
}
}

View file

@ -1,5 +1,4 @@
#define COMPAT_REV1519 // Keeps compatibility with revision 1519
//
 //
// The Open Toolkit Library License
//
// Copyright (c) 2006 - 2009 the Open Toolkit library.
@ -40,10 +39,6 @@ namespace OpenTK.Input
private IntPtr id;
private MouseState state;
#if COMPAT_REV1519
private int wheel_last_accessed = 0;
private Point pos_last_accessed = new Point();
#endif
/// <summary>
/// Gets a string describing this MouseDevice.