mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-29 18:06:52 +00:00
Forced creation of GLControl during construction.
This commit is contained in:
parent
800ac75051
commit
5d40b61eb2
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue