diff options
author | Alan Hourihane <[email protected]> | 2008-10-14 11:54:20 +0100 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2008-10-14 11:55:38 +0100 |
commit | 5d4f3b841753e16fbb33e444b6a787663e54fce5 (patch) | |
tree | 3aafee0a7a44b1234cc06ed52ecb82ef8d18c34b /src/mesa/drivers/dri/common | |
parent | fc562a7acd86bee4853d38961e29c8da3d56e548 (diff) |
dri: don't check the number of cliprects before swap, let
the swap handle the requirements.
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.c | 3 |
1 files changed, 0 insertions, 3 deletions
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); |