summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-01-05 09:21:32 +0000
committerBrian Paul <[email protected]>2000-01-05 09:21:32 +0000
commit276988ec96a48d4ee5c28c0a2da3aa2b5ee0bbea (patch)
tree5fd3dc4625f08718011d83e5aa94d2fc12000140 /src/mesa
parent316b75ecc2e5d5c2b82ea154d8b10622820c910b (diff)
minor clean-up in _mesa_unpack_ubyte_color_span()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/image.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 87a5c4800a6..58c76deb0da 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -1,10 +1,10 @@
-/* $Id: image.c,v 1.14 1999/11/11 01:22:27 brianp Exp $ */
+/* $Id: image.c,v 1.15 2000/01/05 09:21:32 brianp Exp $ */
/*
* Mesa 3-D graphics library
* Version: 3.3
*
- * Copyright (C) 1999 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -2269,11 +2269,9 @@ _mesa_unpack_ubyte_color_span( const GLcontext *ctx,
dstAlphaIndex = 3;
dstLuminanceIndex = dstIntensityIndex = -1;
break;
- case GL_COLOR_INDEX:
- assert(0);
- break;
default:
gl_problem(ctx, "bad dstFormat in _mesa_unpack_ubyte_span()");
+ return;
}