Mesa (master): demos: remove some old debug/test code
Brian Paul
brianp at kemper.freedesktop.org
Thu May 28 01:37:49 UTC 2009
Module: Mesa
Branch: master
Commit: 5be48307d55120311b13433eaa9af09d07e233e0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5be48307d55120311b13433eaa9af09d07e233e0
Author: Brian Paul <brianp at vmware.com>
Date: Wed May 27 19:37:32 2009 -0600
demos: remove some old debug/test code
---
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 f47c60f..c047507 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) {
More information about the mesa-commit
mailing list