OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1596f71
)
intel: Clean up merge leftover from the DRI2 swap throttling.
author
Eric Anholt
<eric@anholt.net>
Mon, 26 Oct 2009 16:15:42 +0000
(09:15 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 29 Oct 2009 17:01:16 +0000
(10:01 -0700)
src/mesa/drivers/dri/intel/intel_batchbuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_batchbuffer.c
b/src/mesa/drivers/dri/intel/intel_batchbuffer.c
index
6aa36d1
..
e94b836
100644
(file)
--- 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;