From: Brian Paul Date: Wed, 30 Dec 2009 05:58:44 +0000 (-0700) Subject: mesa: finish-up indexed color mask code in _mesa_PopAttrib() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36092fa2d82b9f31b37260d97a2c671e49c7579a;p=mesa.git mesa: finish-up indexed color mask code in _mesa_PopAttrib() --- 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),