diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-07-12 12:20:14 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-07-12 12:20:14 -0600 |
commit | 86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a (patch) | |
tree | 2dcf373eacfec2e125771e3a5b51116969fefe46 /progs | |
parent | bd5533bb7c90d8da06f6a1c38bdc84bb607c5b85 (diff) |
Added colormask, dither, multisample state. Implement colormasking stage.
Diffstat (limited to 'progs')
-rw-r--r-- | progs/samples/prim.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/progs/samples/prim.c b/progs/samples/prim.c index 388e0153b4..f47c60faef 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) { |