diff options
author | Dave Airlie <[email protected]> | 2009-07-02 20:44:30 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-07-02 20:45:19 +1000 |
commit | 2ed3eddf9a828f2ff6c74b0913ca37fb60672950 (patch) | |
tree | 5e1593e8cd51bc3b5b4871bd912700703b338e0c /src/mesa/drivers/dri/radeon/radeon_state_init.c | |
parent | 73137997e23ff6c1145d036315d1a9ad96651281 (diff) |
radeon/r300: use base width/height.
I suspect this might break TFP in some way but it makes firecube run here
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_state_init.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_state_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_state_init.c b/src/mesa/drivers/dri/radeon/radeon_state_init.c index c517487098a..a55cd6dfcba 100644 --- a/src/mesa/drivers/dri/radeon/radeon_state_init.c +++ b/src/mesa/drivers/dri/radeon/radeon_state_init.c @@ -453,8 +453,8 @@ static void ctx_emit_cs(GLcontext *ctx, struct radeon_state_atom *atom) OUT_BATCH(0); OUT_BATCH(CP_PACKET0(RADEON_RE_WIDTH_HEIGHT, 0)); if (rrb) { - OUT_BATCH(((rrb->width - 1) << RADEON_RE_WIDTH_SHIFT) | - ((rrb->height - 1) << RADEON_RE_HEIGHT_SHIFT)); + OUT_BATCH(((rrb->base.Width - 1) << RADEON_RE_WIDTH_SHIFT) | + ((rrb->base.Height - 1) << RADEON_RE_HEIGHT_SHIFT)); } else { OUT_BATCH(0); } |