mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 00:40:09 +01:00
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:
parent
1826ff3fb3
commit
f786e46cf4
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue