From bb0760ca4f1759eb3c237045f464da4ad60eef83 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Fri, 9 Mar 2007 19:56:55 +0100 Subject: [PATCH] i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for. --- src/mesa/drivers/dri/i915tex/intel_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i915tex/intel_context.c b/src/mesa/drivers/dri/i915tex/intel_context.c index b8515fe9b84..5c2cdf0c7d6 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, -- 2.30.2