projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c72a1
)
mesa: finish-up indexed color mask code in _mesa_PopAttrib()
author
Brian Paul
<brianp@vmware.com>
Wed, 30 Dec 2009 05:58:44 +0000
(22:58 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 30 Dec 2009 05:58:44 +0000
(22:58 -0700)
src/mesa/main/attrib.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/attrib.c
b/src/mesa/main/attrib.c
index 30e97a6e386bca27bccf345b5670a6b3aa8863e0..886939f0ee03b6090c3b449f4ae64c63c96034e5 100644
(file)
--- 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),