Forced creation of GLControl during construction.

This commit is contained in:
the_fiddler 2007-10-24 16:41:40 +00:00
parent 800ac75051
commit 5d40b61eb2

View file

@ -40,6 +40,8 @@ namespace OpenTK
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
this.display_mode = mode; this.display_mode = mode;
this.CreateControl();
} }
#endregion #endregion