summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-02-13 23:54:12 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-02-13 23:54:12 +0000
commit10686f42c90673daaac61971be553a78fcdb2ab1 (patch)
tree46b314cedf88e2c9bc0a3638c4137f25a50cf020 /src
parentdc866313affb0b4f2073f1234f69a4804f02c7a7 (diff)
removed bogus assertions
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/image.c8
1 files changed, 1 insertions, 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];