From 4089de86a5d4b3ecb82d7c52bd14f10a528b59bf Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Fri, 15 Sep 2017 12:44:47 +0200 Subject: [PATCH] Remove redundant MakeCurrent call. --- src/OpenTK.GLWidget/GLWidget.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/OpenTK.GLWidget/GLWidget.cs b/src/OpenTK.GLWidget/GLWidget.cs index c89f9e2f..87903b79 100644 --- a/src/OpenTK.GLWidget/GLWidget.cs +++ b/src/OpenTK.GLWidget/GLWidget.cs @@ -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);