summaryrefslogtreecommitdiff
path: root/progs/samples/line.c
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2000-10-27 02:49:17 +0000
committerGareth Hughes <gareth@valinux.com>2000-10-27 02:49:17 +0000
commitba58a6665f21319a636ec4c09f7f592fbc8e36b5 (patch)
treebd30cc32f1a96d40b930cc2807763820c535d783 /progs/samples/line.c
parentb4df56fcd9e8e7ac8d9f585daf90ac2f246fa508 (diff)
Change animated apps to double-buffered visuals by default.
Diffstat (limited to 'progs/samples/line.c')
-rw-r--r--progs/samples/line.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/samples/line.c b/progs/samples/line.c
index 59e1d62192..83f70cb3ac 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) {