From: Alan Hourihane Date: Tue, 14 Oct 2008 10:54:20 +0000 (+0100) Subject: dri: don't check the number of cliprects before swap, let X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d4f3b841753e16fbb33e444b6a787663e54fce5;p=mesa.git dri: don't check the number of cliprects before swap, let the swap handle the requirements. --- diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index ceedd914fb3..a16cb504c73 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -315,9 +315,6 @@ static void driSwapBuffers(__DRIdrawable *dPriv) { __DRIscreen *psp = dPriv->driScreenPriv; - if (!dPriv->numClipRects) - return; - psp->DriverAPI.SwapBuffers(dPriv); driReportDamage(dPriv, dPriv->pClipRects, dPriv->numClipRects);