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 7200a57159
commit af638d4795
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;
[assembly: CLSCompliant(true)]
namespace OpenTK
{
/// <summary>
@ -57,7 +59,7 @@ namespace OpenTK
#region --- Fields ---
INativeGLWindow glWindow;
DisplayMode mode;
//DisplayMode mode;
ResizeEventArgs resizeEventArgs = new ResizeEventArgs();

View file

@ -340,7 +340,7 @@ namespace OpenTK.Graphics
void MoveToStartPositions()
{
int count = 0;
//int count = 0;
//foreach (Screen s in Screen.AllScreens)
// 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.
IntPtr[] keysyms;
bool disposed;
//bool disposed;
#region --- Constructors ---