From 6d4bb3059686509a9106b9e9f5e6b030406050fd Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Fri, 15 Sep 2017 12:41:23 +0200 Subject: [PATCH] Remove redundant MakeCurrent call, the base OnDrawn already does this. --- src/OpenTK.GLWidget/GLWidget.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/OpenTK.GLWidget/GLWidget.cs b/src/OpenTK.GLWidget/GLWidget.cs index 079541f4..d389f322 100644 --- a/src/OpenTK.GLWidget/GLWidget.cs +++ b/src/OpenTK.GLWidget/GLWidget.cs @@ -229,11 +229,6 @@ namespace OpenTK { Initialize(); } - else - { - _GraphicsContext.MakeCurrent(_WindowInfo); - } - #if GTK3 var result = base.OnDrawn(cr); #else