diff options
-rw-r--r-- | src/mesa/main/image.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index dfb43c153dc..2693fdbb9c2 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]; |