summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-03-09 19:56:55 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2007-03-09 19:56:55 +0100
commitbb0760ca4f1759eb3c237045f464da4ad60eef83 (patch)
tree6852941f39f7d23cc50f65a58b8cba5141ad4141
parent36b4e25da34691dffd6b147c8cf3d2598ec11ac7 (diff)
i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for.
-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 b8515fe9b8..5c2cdf0c7d 100644
--- a/src/mesa/drivers/dri/i915tex/intel_context.c
+++ b/src/mesa/drivers/dri/i915tex/intel_context.c
@@ -730,7 +730,7 @@ void LOCK_HARDWARE( struct intel_context *intel )
vbl.request.sequence = intel_rb->vbl_pending;
drmWaitVBlank(intel->driFd, &vbl);
- intel_fb->vbl_waited = intel_rb->vbl_pending;
+ intel_fb->vbl_waited = vbl.reply.sequence;
}
DRM_CAS(intel->driHwLock, intel->hHWContext,