private void RedrawTimer_Tick(object sender, EventArgs e) { CurrentTest.Step(Settings); Renderer.OpenGLDraw(CurrentTest); OpenGLControl.Draw(); int errorCode = 0; if ((errorCode = Gl.glGetError()) > 0) { RedrawTimer.Stop(); //Handled by the OpenGLControl //MessageBox.Show(Glu.gluErrorString(errorCode)); } }