mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 18:15:36 +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()
|
||||
: this(new ContextHandle(new IntPtr(++handle_count)))
|
||||
{
|
||||
Mode = new GraphicsMode(new IntPtr(2), 32, 16, 0, 0, 0, 2, false);
|
||||
}
|
||||
|
||||
public DummyGLContext(ContextHandle handle)
|
||||
{
|
||||
Handle = handle;
|
||||
Mode = new GraphicsMode(new IntPtr(2), 32, 16, 0, 0, 0, 2, false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue