diff options
author | Brian Paul <[email protected]> | 2009-12-29 22:58:44 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-12-29 22:58:44 -0700 |
commit | 36092fa2d82b9f31b37260d97a2c671e49c7579a (patch) | |
tree | c5f39786ff68fed2200e6afeb1ba3fbf2589c0a9 /src/mesa/main | |
parent | 81c72a1dabe72ebe6a875bd048d2d7a676716cbf (diff) |
mesa: finish-up indexed color mask code in _mesa_PopAttrib()
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/attrib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 30e97a6e386..886939f0ee0 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -919,7 +919,7 @@ _mesa_PopAttrib(void) color->ClearColor[2], color->ClearColor[3]); _mesa_IndexMask(color->IndexMask); - if (1/*ctx->Extensions.EXT_draw_buffers2*/) { + if (!ctx->Extensions.EXT_draw_buffers2) { _mesa_ColorMask((GLboolean) (color->ColorMask[0][0] != 0), (GLboolean) (color->ColorMask[0][1] != 0), (GLboolean) (color->ColorMask[0][2] != 0), |