Fixed a large number of build warnings

This commit is contained in:
thefiddler 2014-07-21 15:03:24 +02:00
parent b07e5941dd
commit ec34d17b21
4 changed files with 8 additions and 2 deletions

View file

@ -261,12 +261,12 @@ namespace OpenTK
event EventHandler<EventArgs> MouseEnter; event EventHandler<EventArgs> MouseEnter;
/// <summary> /// <summary>
/// Occurs whenever a <see cref="MouseButton"/> is clicked. /// Occurs whenever a <see cref="OpenTK.Input.MouseButton"/> is clicked.
/// </summary> /// </summary>
event EventHandler<Input.MouseButtonEventArgs> MouseDown; event EventHandler<Input.MouseButtonEventArgs> MouseDown;
/// <summary> /// <summary>
/// Occurs whenever a <see cref="MouseButton"/> is released. /// Occurs whenever a <see cref="OpenTK.Input.MouseButton"/> is released.
/// </summary> /// </summary>
event EventHandler<Input.MouseButtonEventArgs> MouseUp; event EventHandler<Input.MouseButtonEventArgs> MouseUp;

View file

@ -30,6 +30,8 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
#pragma warning disable 0649 // field is never assigned
namespace OpenTK.Platform.Linux namespace OpenTK.Platform.Linux
{ {
[UnmanagedFunctionPointer(CallingConvention.Cdecl)] [UnmanagedFunctionPointer(CallingConvention.Cdecl)]

View file

@ -31,6 +31,8 @@ using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;
#pragma warning disable 0649 // field is never assigned
namespace OpenTK.Platform.Linux namespace OpenTK.Platform.Linux
{ {
partial class Libc partial class Libc

View file

@ -237,6 +237,8 @@ namespace OpenTK.Platform.Windows
Any = 0xff Any = 0xff
} }
#pragma warning disable 0649 // field is never assigned
struct XInputThresholds struct XInputThresholds
{ {
public const int LeftThumbDeadzone = 7849; public const int LeftThumbDeadzone = 7849;