From ebe8d3152d864b9f4a0501c868c54e472c9d67a4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 22 Nov 2004 19:58:59 +0000 Subject: added GL_RED/GREEN/BLUE to is_color_format() --- src/mesa/main/teximage.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main') 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: -- cgit v1.2.3