From ba58a6665f21319a636ec4c09f7f592fbc8e36b5 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Fri, 27 Oct 2000 02:49:17 +0000 Subject: Change animated apps to double-buffered visuals by default. --- progs/samples/line.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs/samples/line.c') diff --git a/progs/samples/line.c b/progs/samples/line.c index 59e1d62192c..83f70cb3ac4 100644 --- a/progs/samples/line.c +++ b/progs/samples/line.c @@ -123,7 +123,7 @@ static void Draw(void) } else { glDisable(GL_LINE_STIPPLE); } - + if (mode2) { ci = CI_OFFSET; glEnable(GL_LINE_SMOOTH); @@ -170,7 +170,7 @@ static GLenum Args(int argc, char **argv) GLint i; rgb = GL_TRUE; - doubleBuffer = GL_FALSE; + doubleBuffer = GL_TRUE; for (i = 1; i < argc; i++) { if (strcmp(argv[i], "-ci") == 0) { -- cgit v1.2.3