From: Dave Airlie Date: Wed, 25 Feb 2009 09:22:42 +0000 (+1000) Subject: radeon: avoid page flip code in DRI2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6415e64cbc55b2e11b9ed3f3a861e28479f85d68;p=mesa.git radeon: avoid page flip code in DRI2 --- diff --git a/src/mesa/drivers/dri/radeon/radeon_state.c b/src/mesa/drivers/dri/radeon/radeon_state.c index 86d872030bc..5fffa286fe2 100644 --- a/src/mesa/drivers/dri/radeon/radeon_state.c +++ b/src/mesa/drivers/dri/radeon/radeon_state.c @@ -1563,7 +1563,8 @@ static void radeonDrawBuffer( GLcontext *ctx, GLenum mode ) } radeonSetCliprects( &rmesa->radeon ); - radeonUpdatePageFlipping(&rmesa->radeon); + if (!rmesa->radeon.radeonScreen->driScreen->dri2.enabled) + radeonUpdatePageFlipping(&rmesa->radeon); /* We'll set the drawing engine's offset/pitch parameters later * when we update other state. */