Remove redundant SwapBuffers call, the base OnDrawn already does this.
authorJarl Gullberg <jarl.gullberg@gmail.com>
Fri, 15 Sep 2017 10:41:36 +0000 (12:41 +0200)
committerJarl Gullberg <jarl.gullberg@gmail.com>
Fri, 15 Sep 2017 10:41:36 +0000 (12:41 +0200)
src/OpenTK.GLWidget/GLWidget.cs

index d389f32209864023f99628e0188cab235956622e..41c6b44ce83684ec392e520855bbeedbd035e733 100644 (file)
@@ -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;
         }