From 9dd03dd7696b2d9cee4045e6f97fb5559e98919f Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Fri, 15 Sep 2017 12:41:36 +0200 Subject: [PATCH] Remove redundant SwapBuffers call, the base OnDrawn already does this. --- src/OpenTK.GLWidget/GLWidget.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/OpenTK.GLWidget/GLWidget.cs b/src/OpenTK.GLWidget/GLWidget.cs index d389f322..41c6b44c 100644 --- a/src/OpenTK.GLWidget/GLWidget.cs +++ b/src/OpenTK.GLWidget/GLWidget.cs @@ -237,9 +237,6 @@ namespace OpenTK #if !GTK3 evnt.Window.Display.Sync(); // Add Sync call to fix resize rendering problem (Jay L. T. Cornwall) - How does this affect VSync? #endif - - _GraphicsContext.SwapBuffers(); - return result; }