diff options
author | Brian Paul <brianp@vmware.com> | 2009-05-27 19:37:32 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-05-27 19:37:32 -0600 |
commit | 5be48307d55120311b13433eaa9af09d07e233e0 (patch) | |
tree | 6effcf7f3961eceaafdd7c6aa8282b7e010b0df0 | |
parent | b86067c61072ef0e6804e7cf0f19a7ea43fc6aec (diff) |
demos: remove some old debug/test code
-rw-r--r-- | progs/samples/prim.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/progs/samples/prim.c b/progs/samples/prim.c index f47c60faef..c04750725f 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) { |