summaryrefslogtreecommitdiffstats
path: root/progs/trivial/tri-lit.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/trivial/tri-lit.c')
-rw-r--r--progs/trivial/tri-lit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/trivial/tri-lit.c b/progs/trivial/tri-lit.c
index 91fac1a5981..15a7ad24c51 100644
--- a/progs/trivial/tri-lit.c
+++ b/progs/trivial/tri-lit.c
@@ -39,6 +39,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);
glEnable(GL_LIGHTING);
glEnable(GL_LIGHT0);