mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format()

This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI.
This commit is contained in:
Brian Paul 2009-03-12 19:42:14 -06:00
parent 1826ff3fb3
commit f786e46cf4
1 changed files with 1 additions and 0 deletions

View File

@ -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;