summaryrefslogtreecommitdiffstats
path: root/progs/samples/prim.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-27 19:37:32 -0600
committerBrian Paul <[email protected]>2009-05-27 19:37:32 -0600
commit5be48307d55120311b13433eaa9af09d07e233e0 (patch)
tree6effcf7f3961eceaafdd7c6aa8282b7e010b0df0 /progs/samples/prim.c
parentb86067c61072ef0e6804e7cf0f19a7ea43fc6aec (diff)
demos: remove some old debug/test code
Diffstat (limited to 'progs/samples/prim.c')
-rw-r--r--progs/samples/prim.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/progs/samples/prim.c b/progs/samples/prim.c
index f47c60faefd..c04750725fb 100644
--- a/progs/samples/prim.c
+++ b/progs/samples/prim.c
@@ -466,25 +466,22 @@ static void Draw(void)
} else {
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
}
-#if 01
+
Viewport(0, 0); Point();
Viewport(0, 1); Lines();
Viewport(0, 2); LineStrip();
Viewport(0, 3); LineLoop();
Viewport(1, 0); Bitmap();
-
Viewport(1, 1); TriangleFan();
Viewport(1, 2); Triangles();
Viewport(1, 3); TriangleStrip();
Viewport(2, 0); Rect();
-#endif
Viewport(2, 1); PolygonFunc();
-#if 01
Viewport(2, 2); Quads();
Viewport(2, 3); QuadStrip();
-#endif
+
glFlush();
if (doubleBuffer) {