From: Brian Paul Date: Mon, 22 Nov 2004 19:58:59 +0000 (+0000) Subject: added GL_RED/GREEN/BLUE to is_color_format() X-Git-Tag: 062012170305~23772 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ebe8d3152d864b9f4a0501c868c54e472c9d67a4;p=profile%2Fivi%2Fmesa.git added GL_RED/GREEN/BLUE to is_color_format() --- diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 3e0ab88..f35b236 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -331,6 +331,9 @@ static GLboolean is_color_format(GLenum format) { switch (format) { + case GL_RED: + case GL_GREEN: + case GL_BLUE: case GL_ALPHA: case GL_ALPHA4: case GL_ALPHA8: