mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-19 13:38:00 +00:00
Fixed a large number of build warnings
This commit is contained in:
parent
b07e5941dd
commit
ec34d17b21
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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)]
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue