summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2008-04-22 11:11:42 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2008-04-22 11:11:42 +0800
commitf61e51ee98a2f43ad61e98353eae2cd8dc8a272f (patch)
treedc40b55eb574f3fb6f32c64b45a97424742eacb6 /src/mesa/drivers/dri
parent7c2a3fced8bbf0915ee4160c23b1752917c1e69d (diff)
i965: save the offset of target buffer after last execution, not relocatee buffer.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
index ecf6a1ca66..545913fa31 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;
}
}