projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a82a6
)
added GL_RED/GREEN/BLUE to is_color_format()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 22 Nov 2004 19:58:59 +0000
(19:58 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 22 Nov 2004 19:58:59 +0000
(19:58 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 3e0ab88f2f6d06be582f2a16aeb124155c03e329..f35b236508c6d61784911531aec92169fc61b213 100644
(file)
--- 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: