From: Jakob Bornecrantz Date: Tue, 22 Apr 2008 20:23:22 +0000 (+0200) Subject: i915: Fixed weird fence leak when I915_VBUF=true X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b4798b9068b58a3c4581a268727ce01680d08cd;p=mesa.git i915: Fixed weird fence leak when I915_VBUF=true --- diff --git a/src/gallium/winsys/dri/intel/intel_swapbuffers.c b/src/gallium/winsys/dri/intel/intel_swapbuffers.c index 923b5427714..f029dd6a90d 100644 --- a/src/gallium/winsys/dri/intel/intel_swapbuffers.c +++ b/src/gallium/winsys/dri/intel/intel_swapbuffers.c @@ -62,7 +62,7 @@ intelDisplaySurface(__DRIdrawablePrivate *dPriv, } if (intel->last_swap_fence) { - driFenceFinish(intel->last_swap_fence, DRM_FENCE_TYPE_EXE, TRUE); + driFenceFinish(intel->last_swap_fence, driFenceType(intel->last_swap_fence), GL_FALSE); driFenceUnReference(&intel->last_swap_fence); intel->last_swap_fence = NULL; }