Fixed a few warnings.

Added [assembly: CLSCompliant(true)] attribute to GameWindow.cs
This commit is contained in:
the_fiddler 2008-02-02 13:39:23 +00:00
parent 2927b507be
commit 3ee626a08f
3 changed files with 5 additions and 3 deletions

View file

@ -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();

View file

@ -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);
} }

View file

@ -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 ---