summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2007-11-09 18:44:11 +0100
committerMichel Dänzer <[email protected]>2007-11-26 16:59:00 +0100
commita08c02f1a85823d7116758c3c0996776932fc530 (patch)
treeb67f4dd1a7ea959cb408b56d2f247ca07d49045f /src
parentbdfd9afeadd19c0bd71d904d9d04b01b74b9b70f (diff)
i915tex: Actually wait for previous commands to complete for glFinish().
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_context.c b/src/mesa/drivers/dri/i915tex/intel_context.c
index 40ea7564126..722ef28cdcb 100644
--- a/src/mesa/drivers/dri/i915tex/intel_context.c
+++ b/src/mesa/drivers/dri/i915tex/intel_context.c
@@ -315,7 +315,7 @@ intelFinish(GLcontext * ctx)
intelFlush(ctx);
if (intel->batch->last_fence) {
driFenceFinish(intel->batch->last_fence,
- 0, GL_FALSE);
+ DRM_FENCE_TYPE_EXE | DRM_I915_FENCE_TYPE_RW, GL_FALSE);
driFenceUnReference(intel->batch->last_fence);
intel->batch->last_fence = NULL;
}