Mesa (master): intel: Clean up merge leftover from the DRI2 swap throttling .

Eric Anholt anholt at kemper.freedesktop.org
Thu Oct 29 17:01:40 UTC 2009


Module: Mesa
Branch: master
Commit: fb0084e69e3326b49aca8ca004e19acb7f8c8555
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb0084e69e3326b49aca8ca004e19acb7f8c8555

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Oct 26 09:15:42 2009 -0700

intel: Clean up merge leftover from the DRI2 swap throttling.

---

 src/mesa/drivers/dri/intel/intel_batchbuffer.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c
index 6aa36d1..e94b836 100644
--- a/src/mesa/drivers/dri/intel/intel_batchbuffer.c
+++ b/src/mesa/drivers/dri/intel/intel_batchbuffer.c
@@ -201,11 +201,6 @@ _intel_batchbuffer_flush(struct intel_batchbuffer *batch, const char *file,
       drm_intel_bo_reference(intel->first_post_swapbuffers_batch);
    }
 
-   if (intel->first_post_swapbuffers_batch == NULL) {
-      intel->first_post_swapbuffers_batch = intel->batch->buf;
-      drm_intel_bo_reference(intel->first_post_swapbuffers_batch);
-   }
-
    if (used == 0) {
       batch->cliprect_mode = IGNORE_CLIPRECTS;
       return;




More information about the mesa-commit mailing list