diff options
author | Eric Anholt <eric@anholt.net> | 2007-05-18 13:47:46 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-05-18 13:47:46 -0700 |
commit | c085e350df593ab2af60f53b86265db4c3eab38a (patch) | |
tree | 405455604ed9059caeb5a0fc76b3a43ae1c43392 /src/mesa/drivers/dri | |
parent | a926b7397bb19dea74995bcb02c0ee5438e4a63c (diff) | |
download | external_mesa3d-c085e350df593ab2af60f53b86265db4c3eab38a.zip external_mesa3d-c085e350df593ab2af60f53b86265db4c3eab38a.tar.gz external_mesa3d-c085e350df593ab2af60f53b86265db4c3eab38a.tar.bz2 |
Fix a refcounting mistake with first_swap_fence.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i915tex/intel_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_blit.c b/src/mesa/drivers/dri/i915tex/intel_blit.c index ef596bd..5d97f08 100644 --- a/src/mesa/drivers/dri/i915tex/intel_blit.c +++ b/src/mesa/drivers/dri/i915tex/intel_blit.c @@ -152,8 +152,8 @@ intelCopyBuffer(const __DRIdrawablePrivate * dPriv, if (intel->first_swap_fence) dri_fence_unreference(intel->first_swap_fence); intel_batchbuffer_flush(intel->batch); - dri_fence_reference(intel->first_swap_fence); intel->first_swap_fence = intel->batch->last_fence; + dri_fence_reference(intel->first_swap_fence); } UNLOCK_HARDWARE(intel); |