diff options
author | Eric Anholt <[email protected]> | 2007-08-16 14:34:24 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2007-08-16 14:34:24 -0700 |
commit | 2b77a8696b14bc36be359bf858189ade5fab8511 (patch) | |
tree | c5f534966919f27320b4214aee5f33be9a702e98 /src/mesa/drivers/dri/common/dri_bufmgr_ttm.c | |
parent | 327e6551197e6069150200878b4e6e7a595e2bee (diff) |
Don't forget to update buffer offset after validation.
Diffstat (limited to 'src/mesa/drivers/dri/common/dri_bufmgr_ttm.c')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_bufmgr_ttm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c b/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c index 6e29199cd80..7f1e10fbc8b 100644 --- a/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c +++ b/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c @@ -262,6 +262,8 @@ dri_ttm_validate(dri_bo *buf, unsigned int flags) /* XXX: add to fence list for sanity checking */ } + buf->offset = ttm_buf->drm_bo.offset; + return err; } |