projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d0522e
)
fix assertion in transfer_teximage() (Laurent Desnogues)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 6 Feb 2003 13:50:57 +0000
(13:50 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 6 Feb 2003 13:50:57 +0000
(13:50 +0000)
src/mesa/main/texstore.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstore.c
b/src/mesa/main/texstore.c
index 6a7a2d00c9255d5c8a0f83f32d36f0fff36031d3..3e998f3d78a698447c3ca8baeb34352b3fd6b59a 100644
(file)
--- a/
src/mesa/main/texstore.c
+++ b/
src/mesa/main/texstore.c
@@
-1,4
+1,4
@@
-/* $Id: texstore.c,v 1.5
1 2003/01/28 00:10:41
brianp Exp $ */
+/* $Id: texstore.c,v 1.5
2 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);