Removed glFlush.