From 10686f42c90673daaac61971be553a78fcdb2ab1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 13 Feb 2001 23:54:12 +0000 Subject: removed bogus assertions --- src/mesa/main/image.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index dfb43c153d..2693fdbb9c 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -1,4 +1,4 @@ -/* $Id: image.c,v 1.53 2001/01/23 23:39:36 brianp Exp $ */ +/* $Id: image.c,v 1.54 2001/02/13 23:54:12 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -2505,9 +2505,6 @@ _mesa_unpack_chan_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.rgbMode); - /* Try simple cases first */ if (transferOps == 0 && srcType == CHAN_TYPE) { if (dstFormat == GL_RGBA) { @@ -2829,9 +2826,6 @@ _mesa_unpack_float_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.rgbMode); - /* general solution, no special cases, yet */ { GLfloat rgba[MAX_WIDTH][4]; -- cgit v1.2.3