summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/image.c')
-rw-r--r--xc/extras/Mesa/src/image.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xc/extras/Mesa/src/image.c b/xc/extras/Mesa/src/image.c
index 87ba3699c..4742db514 100644
--- a/xc/extras/Mesa/src/image.c
+++ b/xc/extras/Mesa/src/image.c
@@ -2302,9 +2302,6 @@ _mesa_unpack_ubyte_color_span( GLcontext *ctx,
srcType == GL_UNSIGNED_INT_10_10_10_2 ||
srcType == GL_UNSIGNED_INT_2_10_10_10_REV);
- /* this is intended for RGBA mode only */
- assert(ctx->Visual->RGBAflag);
-
applyTransferOps &= (ctx->Pixel.ScaleOrBiasRGBA ||
ctx->Pixel.MapColorFlag ||
ctx->ColorMatrix.type != MATRIX_IDENTITY ||