From f61e51ee98a2f43ad61e98353eae2cd8dc8a272f Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Tue, 22 Apr 2008 11:11:42 +0800 Subject: [PATCH] i965: save the offset of target buffer after last execution, not relocatee buffer. --- src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c index ecf6a1ca665..545913fa31b 100644 --- a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c +++ b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c @@ -993,7 +993,7 @@ dri_ttm_bo_post_submit(dri_bo *bo) /* Continue walking the tree depth-first. */ dri_ttm_bo_post_submit(r->target_buf); - r->last_target_offset = bo->offset; + r->last_target_offset = r->target_buf->offset; } } -- 2.30.2