progs/demos: Use C-style comment.
[mesa.git] / progs / trivial / clear-scissor.c
index 5e2025bed744b3e2708be4e41d757c91bb2c2ba7..2b6dee77a96d1d669e972cd9bff24f30eb2b09d5 100644 (file)
@@ -16,6 +16,7 @@ static void Init(void)
    fprintf(stderr, "GL_RENDERER   = %s\n", (char *) glGetString(GL_RENDERER));
    fprintf(stderr, "GL_VERSION    = %s\n", (char *) glGetString(GL_VERSION));
    fprintf(stderr, "GL_VENDOR     = %s\n", (char *) glGetString(GL_VENDOR));
+   fflush(stderr);
 }
 
 static void Reshape(int width, int height)
@@ -37,7 +38,7 @@ static void Key(unsigned char key, int x, int y)
       case 27:
        exit(1);
       default:
-       return;
+       break;
     }
     glutPostRedisplay();
 }