summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-03-19 15:31:03 +1000
committerDave Airlie <[email protected]>2009-03-19 15:31:03 +1000
commitbdaa0341caffc353fd26bbd91865c2d86eed11c1 (patch)
treee829e2e3ac5571493d90c7d88e54d6f7b4a17b12 /src/mesa/drivers/dri/r200
parentc0c06803fee4d5cd04da03f1984ae99e411e1588 (diff)
radeon/r200/r300: cleanup some of the renderbuffer code
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_texstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_texstate.c b/src/mesa/drivers/dri/r200/r200_texstate.c
index 4937b0665d1..058e0ee5bec 100644
--- a/src/mesa/drivers/dri/r200/r200_texstate.c
+++ b/src/mesa/drivers/dri/r200/r200_texstate.c
@@ -806,7 +806,7 @@ void r200SetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv)
radeon_bo_unref(rb->bo);
rb->bo = NULL;
}
- rb = (void*)rfb->base.Attachment[BUFFER_FRONT_LEFT].Renderbuffer;
+ rb = rfb->color_rb[0];
if (rb->bo == NULL) {
/* Failed to BO for the buffer */
return;