mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
radeon: dri2 is hooked up elsewhere now
This commit is contained in:
parent
98f1b1e6f9
commit
218083c542
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue