summaryrefslogtreecommitdiff
path: root/src/demos/teapot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/teapot.c')
-rw-r--r--src/demos/teapot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/demos/teapot.c b/src/demos/teapot.c
index f75ad944..23d2225b 100644
--- a/src/demos/teapot.c
+++ b/src/demos/teapot.c
@@ -491,6 +491,7 @@ static void draw(void)
GLfloat fps = Frames / seconds;
sprintf(frbuf, "Frame rate: %f", fps);
printf("%s\n", frbuf);
+ fflush(stdout);
T0 = t;
Frames = 0;
}