diff options
author | Eric Anholt <eric@anholt.net> | 2009-10-26 09:15:42 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-29 10:01:16 -0700 |
commit | fb0084e69e3326b49aca8ca004e19acb7f8c8555 (patch) | |
tree | dec59ccfaa6b486e4d2fa63ad7642135cd43b97c /src/mesa | |
parent | 1596f714d2377036152bd126949c6526fdb06fbf (diff) |
intel: Clean up merge leftover from the DRI2 swap throttling.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 6aa36d10b1..e94b8368cd 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; |