diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/pack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index 02154585aca..4bb0a90045e 100644 --- a/src/mesa/main/pack.c +++ b/src/mesa/main/pack.c @@ -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 || |