diff --git a/src/mesa/drivers/dri/i965/intel_syncobj.c b/src/mesa/drivers/dri/i965/intel_syncobj.c index 9cde152..ca87a16 100644 --- a/src/mesa/drivers/dri/i965/intel_syncobj.c +++ b/src/mesa/drivers/dri/i965/intel_syncobj.c @@ -84,7 +84,8 @@ static void intel_client_wait_sync(struct gl_context *ctx, struct gl_sync_object { struct intel_sync_object *sync = (struct intel_sync_object *)s; - if (sync->bo && drm_intel_gem_bo_wait(sync->bo, timeout) == 0) { + if (sync->bo) { + drm_intel_bo_wait_rendering(sync->bo); s->StatusFlag = 1; drm_intel_bo_unreference(sync->bo); sync->bo = NULL;