mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-03 19:05:40 +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);
|
GetRequiredVersion(out int glVersionMajor, out int glVersionMinor);
|
||||||
_GraphicsContext = new GraphicsContext(gdkContextHandle, _WindowInfo, null, glVersionMajor, glVersionMinor, GraphicsContextFlags);
|
_GraphicsContext = new GraphicsContext(gdkContextHandle, _WindowInfo, null, glVersionMajor, glVersionMinor, GraphicsContextFlags);
|
||||||
|
|
||||||
MakeCurrent();
|
|
||||||
|
|
||||||
if (GraphicsContext.ShareContexts)
|
if (GraphicsContext.ShareContexts)
|
||||||
{
|
{
|
||||||
Interlocked.Increment(ref _GraphicsContextCount);
|
Interlocked.Increment(ref _GraphicsContextCount);
|
||||||
|
|
Loading…
Reference in a new issue