summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2005-10-13 00:35:51 +0000
committerRoland Scheidegger <[email protected]>2005-10-13 00:35:51 +0000
commited2f8635f006886a16da07c77bcab8094229042c (patch)
tree8c098c77c3fc922f7c69ee8d12747259a15c971f
parent6ff023fe3a3fab14c33d20218155f82e1ed76b7e (diff)
make sure texture matrix is updated often enough with texture rectangles
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_texstate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_texstate.c b/src/mesa/drivers/dri/radeon/radeon_texstate.c
index 03324941bae..56ec2ae398d 100644
--- a/src/mesa/drivers/dri/radeon/radeon_texstate.c
+++ b/src/mesa/drivers/dri/radeon/radeon_texstate.c
@@ -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]) {