From: Jakob Bornecrantz Date: Wed, 28 Jan 2009 22:37:23 +0000 (+0100) Subject: intel: Fix typo X-Git-Tag: mesa-7.8~4139^2~496^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5fc2a68e8fd07773d424aade2f9d32d4c7bf607;p=platform%2Fupstream%2Fmesa.git intel: Fix typo --- diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c index 6efa686..a0574b8 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c @@ -72,7 +72,7 @@ intel_be_offset_relocation(struct intel_be_batchbuffer *batch, read_domains, write_domain); - ((uint32_t*)batch->base.ptr)[0] = bo->offset = pre_add; + ((uint32_t*)batch->base.ptr)[0] = bo->offset - pre_add; batch->base.ptr += 4; if (!ret)