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/samples | |
parent | bd5533bb7c90d8da06f6a1c38bdc84bb607c5b85 (diff) | |
download | external_mesa3d-86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a.zip external_mesa3d-86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a.tar.gz external_mesa3d-86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a.tar.bz2 |
Added colormask, dither, multisample state. Implement colormasking stage.
Diffstat (limited to 'progs/samples')
-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 388e015..f47c60f 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) { |