summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-03-28 22:01:08 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-03-28 22:01:08 +0000
commitc44e5d39a52851dc82d667efafb8591c8ab5a882 (patch)
treec70c33249ecb6b795efc330ad9d74e798c273e9c
parentaf709ec217aa12feeb946be93bb8a3572813a7fe (diff)
fix an assertion (Heath Feather)
-rw-r--r--src/mesa/main/texstore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index 2e560fe0c5..fc006f55e0 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore.c
@@ -1,4 +1,4 @@
-/* $Id: texstore.c,v 1.47.2.6 2003/03/04 19:24:20 brianp Exp $ */
+/* $Id: texstore.c,v 1.47.2.7 2003/03/28 22:01:08 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -482,6 +482,7 @@ _mesa_transfer_teximage(GLcontext *ctx, GLuint dimensions,
baseInternalFormat == GL_ALPHA ||
baseInternalFormat == GL_RGB ||
baseInternalFormat == GL_RGBA ||
+ baseInternalFormat == GL_COLOR_INDEX ||
baseInternalFormat == GL_DEPTH_COMPONENT);
if (transferOps & IMAGE_CONVOLUTION_BIT) {