aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-03-21 22:38:28 +1100
committerDave Airlie <[email protected]>2009-03-21 22:38:28 +1100
commit218083c542138dc2271b83450f556a6146144f75 (patch)
treeff9ed0dded137f516eaece963e102f2dd6772abe /src/mesa/drivers
parent98f1b1e6f99c690645c3cb5093005fc41f436225 (diff)
radeon: dri2 is hooked up elsewhere now
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.h b/src/mesa/drivers/dri/radeon/radeon_common.h
index 528ea9dce4a..c97492d742a 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common.h
+++ b/src/mesa/drivers/dri/radeon/radeon_common.h
@@ -67,12 +67,8 @@ static inline struct radeon_renderbuffer *radeon_get_depthbuffer(radeonContextPt
static inline struct radeon_renderbuffer *radeon_get_colorbuffer(radeonContextPtr rmesa)
{
struct radeon_renderbuffer *rrb;
- struct radeon_framebuffer *rfb = rmesa->dri.drawable->driverPrivate;
rrb = rmesa->state.color.rrb;
- if (rmesa->radeonScreen->driScreen->dri2.enabled) {
- rrb = radeon_get_renderbuffer(&rfb->base, BUFFER_BACK_LEFT);
- }
if (!rrb)
return NULL;
return rrb;