projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d762a
)
additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 2 Jan 2008 14:18:46 +0000
(07:18 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Wed, 2 Jan 2008 14:19:31 +0000
(07:19 -0700)
src/mesa/main/buffers.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/buffers.c
b/src/mesa/main/buffers.c
index 1661f6a1afc6c2d65de9b382295706c77d1c3aec..0fba73b3c2f541b24caaaf73461dd432fa0e68e0 100644
(file)
--- a/
src/mesa/main/buffers.c
+++ b/
src/mesa/main/buffers.c
@@
-275,6
+275,14
@@
draw_buffer_enum_to_bitmask(GLenum buffer)
return BUFFER_BIT_COLOR2;
case GL_COLOR_ATTACHMENT3_EXT:
return BUFFER_BIT_COLOR3;
+ case GL_COLOR_ATTACHMENT4_EXT:
+ return BUFFER_BIT_COLOR4;
+ case GL_COLOR_ATTACHMENT5_EXT:
+ return BUFFER_BIT_COLOR5;
+ case GL_COLOR_ATTACHMENT6_EXT:
+ return BUFFER_BIT_COLOR6;
+ case GL_COLOR_ATTACHMENT7_EXT:
+ return BUFFER_BIT_COLOR7;
default:
/* error */
return BAD_MASK;