From: Brian Paul Date: Fri, 13 Mar 2009 01:42:14 +0000 (-0600) Subject: mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f786e46cf4fbf50a1cacfb81e22ee155ffe6edd3;p=mesa.git mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format() This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI. --- diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index 5c5f9f6028a..804e840820d 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;