diff --git a/Source/OpenTK/Platform/Windows/WinGLControl.cs b/Source/OpenTK/Platform/Windows/WinGLControl.cs index c19a0ea1..5809462d 100644 --- a/Source/OpenTK/Platform/Windows/WinGLControl.cs +++ b/Source/OpenTK/Platform/Windows/WinGLControl.cs @@ -26,7 +26,13 @@ namespace OpenTK.Platform.Windows private Message msg; // Used only by the IsIdle event. #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) { glContext = new WinGLContext(