summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_texstate.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-02-23 15:41:30 +1000
committerDave Airlie <[email protected]>2009-02-23 15:41:30 +1000
commitc32a28d86eda3d1984f6a571be0db6c6f5c7f5dc (patch)
treed123f575b4ce0bdd8e2dec81c1a9747714e26579 /src/mesa/drivers/dri/r300/r300_texstate.c
parentf4502f0f8c065f28c257b7be67021d3920e51a99 (diff)
r300: fixup old setTexOffset DRI1 extension
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_texstate.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_texstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texstate.c b/src/mesa/drivers/dri/r300/r300_texstate.c
index 25cd4d885ed..4f145bdbb4e 100644
--- a/src/mesa/drivers/dri/r300/r300_texstate.c
+++ b/src/mesa/drivers/dri/r300/r300_texstate.c
@@ -216,7 +216,7 @@ static void setup_hardware_state(r300ContextPtr rmesa, radeonTexObj *t)
return;
}
- if (t->image_override)
+ if (t->image_override && t->bo)
return;
t->pp_txsize = (((firstImage->Width - 1) << R300_TX_WIDTHMASK_SHIFT)