diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-02-06 13:50:57 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-02-06 13:50:57 +0000 |
commit | c8e28650c9cdec9611348cf077d3a3bda4305f59 (patch) | |
tree | 0c6ad17f8227b62e853b36af0ed1ba4fffe01e0c | |
parent | 7d0522e16a73dcd356526fa37ead82ad4ad02c31 (diff) |
fix assertion in transfer_teximage() (Laurent Desnogues)
-rw-r--r-- | src/mesa/main/texstore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 6a7a2d00c9..3e998f3d78 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -1,4 +1,4 @@ -/* $Id: texstore.c,v 1.51 2003/01/28 00:10:41 brianp Exp $ */ +/* $Id: texstore.c,v 1.52 2003/02/06 13:50:57 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -194,6 +194,7 @@ transfer_teximage(GLcontext *ctx, GLuint dimensions, texDestFormat == GL_ALPHA || texDestFormat == GL_RGB || texDestFormat == GL_RGBA || + texDestFormat == GL_COLOR_INDEX || texDestFormat == GL_DEPTH_COMPONENT); ASSERT(texDestAddr); ASSERT(srcWidth >= 1); |