mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-05-04 22:02:12 +00:00
Forced creation of GLControl during construction.
This commit is contained in:
parent
baeea2ee2a
commit
36bf848006
|
@ -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