mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 19:10:21 +01:00
fix assertion in transfer_teximage() (Laurent Desnogues)
This commit is contained in:
parent
7d0522e16a
commit
c8e28650c9
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue