diff options
author | Brian Paul <[email protected]> | 2012-01-16 12:52:21 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-24 14:12:31 -0700 |
commit | c080202db5363a18a759a9a7c82b40ac558c8abe (patch) | |
tree | 9239d9cfbf0ab829abd1030990e2c0d834fb0a04 /src/mesa/drivers/dri/r200/r200_state.c | |
parent | 9f8ed9d66298e2dc5dff508e3ea723469fe06d93 (diff) |
radeon: derive radeon_renderbuffer from swrast_renderbuffer
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_state.c')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_state.c b/src/mesa/drivers/dri/r200/r200_state.c index 49f66fb6f46..5677a9e7b8f 100644 --- a/src/mesa/drivers/dri/r200/r200_state.c +++ b/src/mesa/drivers/dri/r200/r200_state.c @@ -1619,8 +1619,8 @@ void r200_vtbl_update_scissor( struct gl_context *ctx ) rrb = radeon_get_colorbuffer(&r200->radeon); x1 = 0; y1 = 0; - x2 = rrb->base.Width - 1; - y2 = rrb->base.Height - 1; + x2 = rrb->base.Base.Width - 1; + y2 = rrb->base.Base.Height - 1; } R200_SET_STATE(r200, sci, SCI_XY_1, x1 | (y1 << 16)); |