projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1826ff3
)
mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format()
author
Brian Paul
<brianp@vmware.com>
Fri, 13 Mar 2009 01:42:14 +0000
(19:42 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 13 Mar 2009 01:42:14 +0000
(19:42 -0600)
This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI.
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index 5c5f9f6028acadba5bd8faff0f1615dfd375b96a..804e840820d4596fd2a6e3321212e530f887a70e 100644
(file)
--- a/
src/mesa/main/image.c
+++ b/
src/mesa/main/image.c
@@
-294,6
+294,7
@@
_mesa_components_in_format( GLenum format )
case GL_DEPTH_STENCIL_EXT:
return 2;
case GL_DUDV_ATI:
+ case GL_DU8DV8_ATI:
return 2;
default:
return -1;