mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
mesa: Fix _mesa_unpack_dudv_span_byte assertion.
It was accepting only GL_DUDV_ATI and not the specific sized format GL_DU8DV8_ATI. Fixes assertion failure at startup in Shadowgrounds. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
9dacbe2226
commit
14eedf3028
1 changed files with 2 additions and 1 deletions
|
|
@ -3973,7 +3973,8 @@ _mesa_unpack_dudv_span_byte( struct gl_context *ctx,
|
|||
GLbitfield transferOps )
|
||||
{
|
||||
ASSERT(dstFormat == GL_DUDV_ATI);
|
||||
ASSERT(srcFormat == GL_DUDV_ATI);
|
||||
ASSERT(srcFormat == GL_DUDV_ATI ||
|
||||
srcFormat == GL_DU8DV8_ATI);
|
||||
|
||||
ASSERT(srcType == GL_UNSIGNED_BYTE ||
|
||||
srcType == GL_BYTE ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue