summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_common_context.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-02 20:57:45 +1000
committerDave Airlie <airlied@redhat.com>2009-07-02 20:57:45 +1000
commit54ee188a00e31d239cbd256e7ba5ffd2c1259650 (patch)
treea3f6982df4d866b71c0a53fcf44e0e6280cf5a06 /src/mesa/drivers/dri/radeon/radeon_common_context.c
parent2ed3eddf9a828f2ff6c74b0913ca37fb60672950 (diff)
radeon/r200/r300: drop radeon renderbuffer private width/height
half stealing the code without taking the intel regions
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_common_context.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.c b/src/mesa/drivers/dri/radeon/radeon_common_context.c
index 009859feca..94bda78ce3 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common_context.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common_context.c
@@ -605,8 +605,8 @@ radeon_update_renderbuffers(__DRIcontext *context, __DRIdrawable *drawable)
rb->cpp = buffers[i].cpp;
rb->pitch = buffers[i].pitch;
- rb->width = drawable->w;
- rb->height = drawable->h;
+ rb->base.Width = drawable->w;
+ rb->base.Height = drawable->h;
rb->has_surface = 0;
if (buffers[i].attachment == __DRI_BUFFER_STENCIL && depth_bo) {