i965: add support for ARB_half_float_vertex
[mesa.git] / progs / demos / arbfslight.c
index a84491d34fea0972d28904b32840e58181b4f92f..a0ce7f3f5bce3de68597f0d293b04b86e8d500e6 100644 (file)
@@ -105,6 +105,7 @@ static void Redisplay (void)
                        GLfloat seconds = (GLfloat) (t - t0) / 1000.0f;
                        GLfloat fps = frames / seconds;
                        printf ("%d frames in %6.3f seconds = %6.3f FPS\n", frames, seconds, fps);
+                        fflush(stdout);
                        t0 = t;
                        frames = 0;
                }
@@ -310,9 +311,8 @@ static void Init (void)
 
 int main (int argc, char *argv[])
 {
-       glutInit (&argc, argv);
-       glutInitWindowPosition ( 0, 0);
        glutInitWindowSize (200, 200);
+       glutInit (&argc, argv);
        glutInitDisplayMode (GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
        glutCreateWindow (argv[0]);
        glutReshapeFunc (Reshape);