From: Dave Airlie Date: Sat, 21 Mar 2009 11:38:28 +0000 (+1100) Subject: radeon: dri2 is hooked up elsewhere now X-Git-Tag: 062012170305~17577^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=218083c542138dc2271b83450f556a6146144f75;p=profile%2Fivi%2Fmesa.git radeon: dri2 is hooked up elsewhere now --- diff --git a/src/mesa/drivers/dri/radeon/radeon_common.h b/src/mesa/drivers/dri/radeon/radeon_common.h index 528ea9d..c97492d 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;