summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-01-02 07:18:46 -0700
committerBrian <[email protected]>2008-01-02 07:19:31 -0700
commit7d6d6652d58c542be07707c9a9becb8163f1ba8a (patch)
treeaff4985f0cc07f0ae69c1b86c94f8c53df585538 /src/mesa/main
parent60d762aa625095a8c1f9597d8530bb5a6fa61b4c (diff)
additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/buffers.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index 1661f6a1afc..0fba73b3c2f 100644
--- 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;