summaryrefslogtreecommitdiffstats
path: root/progs/samples/prim.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-07-12 12:20:14 -0600
committerBrian <[email protected]>2007-07-12 12:20:14 -0600
commit86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a (patch)
tree2dcf373eacfec2e125771e3a5b51116969fefe46 /progs/samples/prim.c
parentbd5533bb7c90d8da06f6a1c38bdc84bb607c5b85 (diff)
Added colormask, dither, multisample state. Implement colormasking stage.
Diffstat (limited to 'progs/samples/prim.c')
-rw-r--r--progs/samples/prim.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/progs/samples/prim.c b/progs/samples/prim.c
index 388e0153b4f..f47c60faefd 100644
--- a/progs/samples/prim.c
+++ b/progs/samples/prim.c
@@ -466,7 +466,7 @@ 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();
@@ -479,10 +479,12 @@ static void Draw(void)
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) {