Module: Mesa
Branch: master
Commit: 36092fa2d82b9f31b37260d97a2c671e49c7579a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=36092fa2d82b9f31b37260d97a2c671e49c7579a

Author: Brian Paul <[email protected]>
Date:   Tue Dec 29 22:58:44 2009 -0700

mesa: finish-up indexed color mask code in _mesa_PopAttrib()

---

 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 30e97a6..886939f 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),

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to