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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebe8d3152d864b9f4a0501c868c54e472c9d67a4;p=mesa.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 3e0ab88f2f6..f35b236508c 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: