Forced creation of GLControl during construction.
This commit is contained in:
parent
800ac75051
commit
5d40b61eb2
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ namespace OpenTK
|
|||
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
|
||||
|
||||
this.display_mode = mode;
|
||||
|
||||
this.CreateControl();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue