From 9b3162b1d21ccd5b0b25b45696c6106dae4c3357 Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 1 Jan 2008 10:10:04 -0700 Subject: additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767) --- src/mesa/main/buffers.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index d9c18bfaafc..1661f6a1afc 100644 --- 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; -- cgit v1.2.3