make sure texture matrix is updated often enough with texture rectangles

This commit is contained in:
Roland Scheidegger 2005-10-13 00:35:51 +00:00
parent 6ff023fe3a
commit ed2f8635f0

View file

@ -1145,6 +1145,8 @@ static GLboolean update_tex_common( GLcontext *ctx, int unit )
if (t->dirty_state & (1<<unit)) {
import_tex_obj_state( rmesa, unit, t );
/* may need to update texture matrix (for texrect adjustments) */
rmesa->NewGLState |= _NEW_TEXTURE_MATRIX;
}
if (rmesa->recheck_texgen[unit]) {