diff --git a/src/OpenTK.GLWidget/GLWidget.cs b/src/OpenTK.GLWidget/GLWidget.cs index 2bc1dd9b..079541f4 100644 --- a/src/OpenTK.GLWidget/GLWidget.cs +++ b/src/OpenTK.GLWidget/GLWidget.cs @@ -193,22 +193,6 @@ namespace OpenTK } } - /// - /// Called when this needs to render a frame. - /// - public event EventHandler RenderFrame; - - /// - /// Invokes the event. - /// - protected virtual void OnRenderFrame() - { - if (RenderFrame != null) - { - RenderFrame(this, EventArgs.Empty); - } - } - /// /// Called when this is being disposed. /// @@ -255,9 +239,6 @@ namespace OpenTK #else bool result = base.OnExposeEvent(evnt); #endif - - OnRenderFrame(); - #if !GTK3 evnt.Window.Display.Sync(); // Add Sync call to fix resize rendering problem (Jay L. T. Cornwall) - How does this affect VSync? #endif