Remove redundant MakeCurrent call.

This commit is contained in:
Jarl Gullberg 2017-09-15 12:44:47 +02:00
parent eb317df44c
commit 4089de86a5
No known key found for this signature in database
GPG key ID: FBB69BD7CAE095A0

View file

@ -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);