make sure texture matrix is updated often enough with texture rectangles
authorRoland Scheidegger <rscheidegger@gmx.ch>
Thu, 13 Oct 2005 00:35:51 +0000 (00:35 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Thu, 13 Oct 2005 00:35:51 +0000 (00:35 +0000)
src/mesa/drivers/dri/radeon/radeon_texstate.c

index 0332494..56ec2ae 100644 (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]) {