projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f3d11d
)
added GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 11 Jun 2004 19:08:55 +0000
(19:08 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 11 Jun 2004 19:08:55 +0000
(19:08 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 54cc73dce807d4442e53ee49b48493f84adcd544..0da73231f1111975a5fcb42ef78525c8f45c9e5f 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-356,6
+356,7
@@
is_color_format(GLenum internalFormat)
case GL_INTENSITY16:
case 3:
case GL_RGB:
+ case GL_BGR:
case GL_R3_G3_B2:
case GL_RGB4:
case GL_RGB5:
@@
-365,6
+366,7
@@
is_color_format(GLenum internalFormat)
case GL_RGB16:
case 4:
case GL_RGBA:
+ case GL_BGRA:
case GL_RGBA2:
case GL_RGBA4:
case GL_RGB5_A1: