Fixed build error in WinGLNative.

This commit is contained in:
the_fiddler 2007-08-09 12:08:03 +00:00
parent ee05b9e5c1
commit 917c10d54b

View file

@ -26,7 +26,13 @@ namespace OpenTK.Platform.Windows
private Message msg; // Used only by the IsIdle event. private Message msg; // Used only by the IsIdle event.
#region --- Constructors --- #region --- Constructors ---
public WinGLControl(Control c, DisplayMode mode)
{
glContext = new WinGLContext(c.Handle, mode);
}
[Obsolete]
public WinGLControl(Control c, int width, int height, bool fullscreen) public WinGLControl(Control c, int width, int height, bool fullscreen)
{ {
glContext = new WinGLContext( glContext = new WinGLContext(