mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-03 18:55:37 +00:00
Remove redundant MakeCurrent call.
This commit is contained in:
parent
eb317df44c
commit
4089de86a5
|
@ -307,8 +307,6 @@ namespace OpenTK
|
|||
GetRequiredVersion(out int glVersionMajor, out int glVersionMinor);
|
||||
_GraphicsContext = new GraphicsContext(gdkContextHandle, _WindowInfo, null, glVersionMajor, glVersionMinor, GraphicsContextFlags);
|
||||
|
||||
MakeCurrent();
|
||||
|
||||
if (GraphicsContext.ShareContexts)
|
||||
{
|
||||
Interlocked.Increment(ref _GraphicsContextCount);
|
||||
|
|
Loading…
Reference in a new issue