mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 17:05:37 +00:00
Fixed a few warnings.
Added [assembly: CLSCompliant(true)] attribute to GameWindow.cs
This commit is contained in:
parent
2927b507be
commit
3ee626a08f
|
@ -18,6 +18,8 @@ using OpenTK.Graphics.OpenGL;
|
||||||
using OpenTK.Graphics.OpenGL.Enums;
|
using OpenTK.Graphics.OpenGL.Enums;
|
||||||
using OpenTK.Graphics;
|
using OpenTK.Graphics;
|
||||||
|
|
||||||
|
[assembly: CLSCompliant(true)]
|
||||||
|
|
||||||
namespace OpenTK
|
namespace OpenTK
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -57,7 +59,7 @@ namespace OpenTK
|
||||||
#region --- Fields ---
|
#region --- Fields ---
|
||||||
|
|
||||||
INativeGLWindow glWindow;
|
INativeGLWindow glWindow;
|
||||||
DisplayMode mode;
|
//DisplayMode mode;
|
||||||
|
|
||||||
ResizeEventArgs resizeEventArgs = new ResizeEventArgs();
|
ResizeEventArgs resizeEventArgs = new ResizeEventArgs();
|
||||||
|
|
||||||
|
|
|
@ -340,7 +340,7 @@ namespace OpenTK.Graphics
|
||||||
|
|
||||||
void MoveToStartPositions()
|
void MoveToStartPositions()
|
||||||
{
|
{
|
||||||
int count = 0;
|
//int count = 0;
|
||||||
//foreach (Screen s in Screen.AllScreens)
|
//foreach (Screen s in Screen.AllScreens)
|
||||||
// forms[count++].Location = new System.Drawing.Point(s.Bounds.X, s.Bounds.Y);
|
// forms[count++].Location = new System.Drawing.Point(s.Bounds.X, s.Bounds.Y);
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace OpenTK.Platform.X11
|
||||||
int keysyms_per_keycode; // The number of KeySyms for each KeyCode.
|
int keysyms_per_keycode; // The number of KeySyms for each KeyCode.
|
||||||
IntPtr[] keysyms;
|
IntPtr[] keysyms;
|
||||||
|
|
||||||
bool disposed;
|
//bool disposed;
|
||||||
|
|
||||||
#region --- Constructors ---
|
#region --- Constructors ---
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue