From 5d40b61eb27f297a355d1f0f78e82ee5bd86a83c Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 24 Oct 2007 16:41:40 +0000 Subject: [PATCH] Forced creation of GLControl during construction. --- Source/OpenTK/GLControl.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/OpenTK/GLControl.cs b/Source/OpenTK/GLControl.cs index f179c707..174e4eb9 100644 --- a/Source/OpenTK/GLControl.cs +++ b/Source/OpenTK/GLControl.cs @@ -40,6 +40,8 @@ namespace OpenTK this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.display_mode = mode; + + this.CreateControl(); } #endregion