summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-02-13 23:34:53 +1000
committerDave Airlie <airlied@redhat.com>2009-02-13 23:34:53 +1000
commit2753dd42fd42a3383d2e74ab231d0b1373a2d46d (patch)
treec6f6b1a4f99fedefd6617b83a3d2e2bd9bdf73f2 /src/mesa/drivers/dri/r200
parentf363a97d2586a8487bfa64f882fbfc204a56fd05 (diff)
radeon/r200: make setTexOffset work again
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_state_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_state_init.c b/src/mesa/drivers/dri/r200/r200_state_init.c
index 3165f7ec60..3d0ebff7c4 100644
--- a/src/mesa/drivers/dri/r200/r200_state_init.c
+++ b/src/mesa/drivers/dri/r200/r200_state_init.c
@@ -552,7 +552,8 @@ static void tex_emit(GLcontext *ctx, struct radeon_state_atom *atom)
} else if (!t) {
/* workaround for old CS mechanism */
OUT_BATCH(r200->radeon.radeonScreen->texOffset[RADEON_LOCAL_TEX_HEAP]);
- }
+ } else if (t->image_override)
+ OUT_BATCH(atom->cmd[10]);
END_BATCH();
}