From: Eric Anholt Date: Mon, 26 Oct 2009 16:15:42 +0000 (-0700) Subject: intel: Clean up merge leftover from the DRI2 swap throttling. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb0084e69e3326b49aca8ca004e19acb7f8c8555;p=mesa.git intel: Clean up merge leftover from the DRI2 swap throttling. --- diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c index 6aa36d10b12..e94b8368cde 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;