summaryrefslogtreecommitdiffstats
path: root/progs/trivial/line-smooth.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-03-24 16:35:29 +0000
committerKeith Whitwell <[email protected]>2009-03-24 16:35:29 +0000
commiteb9801ccfbd6d808e4761d66202bc368b86679b6 (patch)
treea28d757e6015316801b8144b4671ccc84f2ce7ab /progs/trivial/line-smooth.c
parentcc8afbd3862fedfe42e51c3774960d1c7078ec53 (diff)
progs/trivial: add fflushes for cygwin
Diffstat (limited to 'progs/trivial/line-smooth.c')
-rw-r--r--progs/trivial/line-smooth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/trivial/line-smooth.c b/progs/trivial/line-smooth.c
index f030de9b9fe..9c4b9a01155 100644
--- a/progs/trivial/line-smooth.c
+++ b/progs/trivial/line-smooth.c
@@ -44,10 +44,12 @@ 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);
glGetFloatv(GL_LINE_WIDTH_RANGE, aarange);
glGetFloatv(GL_ALIASED_LINE_WIDTH_RANGE, range);
printf("Non-AA line width range: %f .. %f\n", range[0], range[1]);
printf("AA line width range: %f .. %f\n", aarange[0], aarange[1]);
+ fflush(stdout);
}