summaryrefslogtreecommitdiff
path: root/src/demos/trispd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/trispd.c')
-rw-r--r--src/demos/trispd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/demos/trispd.c b/src/demos/trispd.c
index 0c7ad6ec..d6e231e5 100644
--- a/src/demos/trispd.c
+++ b/src/demos/trispd.c
@@ -95,6 +95,7 @@ static void Display( void )
pixelRate = triRate * Size;
printf("Rate: %d tri in %gs = %g tri/s %d pixels/s\n",
triCount, t1-t0, triRate, (int)pixelRate);
+ fflush(stdout);
glutSwapBuffers();
}