diff options
author | Dave Airlie <[email protected]> | 2009-03-19 15:31:03 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-03-19 15:31:03 +1000 |
commit | bdaa0341caffc353fd26bbd91865c2d86eed11c1 (patch) | |
tree | e829e2e3ac5571493d90c7d88e54d6f7b4a17b12 /src/mesa/drivers/dri/r300/r300_texstate.c | |
parent | c0c06803fee4d5cd04da03f1984ae99e411e1588 (diff) |
radeon/r200/r300: cleanup some of the renderbuffer code
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_texstate.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_texstate.c | 2 |
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 2d7f392e7c8..14d470a11c0 100644 --- a/src/mesa/drivers/dri/r300/r300_texstate.c +++ b/src/mesa/drivers/dri/r300/r300_texstate.c @@ -425,7 +425,7 @@ void r300SetTexBuffer(__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; |