From c44e5d39a52851dc82d667efafb8591c8ab5a882 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 28 Mar 2003 22:01:08 +0000 Subject: fix an assertion (Heath Feather) --- src/mesa/main/texstore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3