projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf2a8c
)
additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 1 Jan 2008 17:10:04 +0000
(10:10 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 1 Jan 2008 17:10:04 +0000
(10:10 -0700)
src/mesa/main/buffers.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/buffers.c
b/src/mesa/main/buffers.c
index d9c18bfaafc84212911b020e46a605e29d48ec17..1661f6a1afc6c2d65de9b382295706c77d1c3aec 100644
(file)
--- a/
src/mesa/main/buffers.c
+++ b/
src/mesa/main/buffers.c
@@
-324,6
+324,14
@@
read_buffer_enum_to_index(GLenum buffer)
return BUFFER_COLOR2;
case GL_COLOR_ATTACHMENT3_EXT:
return BUFFER_COLOR3;
+ case GL_COLOR_ATTACHMENT4_EXT:
+ return BUFFER_COLOR4;
+ case GL_COLOR_ATTACHMENT5_EXT:
+ return BUFFER_COLOR5;
+ case GL_COLOR_ATTACHMENT6_EXT:
+ return BUFFER_COLOR6;
+ case GL_COLOR_ATTACHMENT7_EXT:
+ return BUFFER_COLOR7;
default:
/* error */
return -1;