mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-29 08:36:53 +00:00
Fixed build error in WinGLNative.
This commit is contained in:
parent
ee05b9e5c1
commit
917c10d54b
|
@ -26,7 +26,13 @@ namespace OpenTK.Platform.Windows
|
||||||
private Message msg; // Used only by the IsIdle event.
|
private Message msg; // Used only by the IsIdle event.
|
||||||
|
|
||||||
#region --- Constructors ---
|
#region --- Constructors ---
|
||||||
|
|
||||||
|
public WinGLControl(Control c, DisplayMode mode)
|
||||||
|
{
|
||||||
|
glContext = new WinGLContext(c.Handle, mode);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Obsolete]
|
||||||
public WinGLControl(Control c, int width, int height, bool fullscreen)
|
public WinGLControl(Control c, int width, int height, bool fullscreen)
|
||||||
{
|
{
|
||||||
glContext = new WinGLContext(
|
glContext = new WinGLContext(
|
||||||
|
|
Loading…
Reference in a new issue