aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-04-22 22:23:22 +0200
committerJakob Bornecrantz <[email protected]>2008-04-22 22:23:22 +0200
commit6b4798b9068b58a3c4581a268727ce01680d08cd (patch)
tree98e4a94e955f8bc0085b68f627921a9b03f7486f /src
parentf2ee51e7d9a9bde8fd7de29b382d11fe0d58226d (diff)
i915: Fixed weird fence leak when I915_VBUF=true
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/dri/intel/intel_swapbuffers.c2
1 files changed, 1 insertions, 1 deletions
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;
}