diff options
author | Brian Paul <brianp@vmware.com> | 2009-03-12 19:42:14 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-03-12 19:42:14 -0600 |
commit | f786e46cf4fbf50a1cacfb81e22ee155ffe6edd3 (patch) | |
tree | abe612004ef8facf8938544527fe2ef6507dfb41 /src/mesa | |
parent | 1826ff3fb34e9fb19bc8d8dee2cce5280da5e069 (diff) | |
download | external_mesa3d-f786e46cf4fbf50a1cacfb81e22ee155ffe6edd3.zip external_mesa3d-f786e46cf4fbf50a1cacfb81e22ee155ffe6edd3.tar.gz external_mesa3d-f786e46cf4fbf50a1cacfb81e22ee155ffe6edd3.tar.bz2 |
mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format()
This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index 5c5f9f6..804e840 100644 --- 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; |