protected virtual void OnDrawFrame() { GL.glClearColor(0, 0, 0, 1); GL.glClear(GL.GL_COLOR_BUFFER_BIT); if (RenderFrame != null) RenderFrame(); Context.SwapBuffers(); }