mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 14:25:35 +00:00
GraphicsMode was not set when initializing a DummyGLContext with an explicit handle. Corrected now.
This commit is contained in:
parent
e2d31c78cb
commit
5d61e042a0
|
@ -33,12 +33,12 @@ namespace OpenTK.Platform.Dummy
|
||||||
public DummyGLContext()
|
public DummyGLContext()
|
||||||
: this(new ContextHandle(new IntPtr(++handle_count)))
|
: this(new ContextHandle(new IntPtr(++handle_count)))
|
||||||
{
|
{
|
||||||
Mode = new GraphicsMode(new IntPtr(2), 32, 16, 0, 0, 0, 2, false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public DummyGLContext(ContextHandle handle)
|
public DummyGLContext(ContextHandle handle)
|
||||||
{
|
{
|
||||||
Handle = handle;
|
Handle = handle;
|
||||||
|
Mode = new GraphicsMode(new IntPtr(2), 32, 16, 0, 0, 0, 2, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in a new issue