From b5fc2a68e8fd07773d424aade2f9d32d4c7bf607 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 28 Jan 2009 23:37:23 +0100 Subject: [PATCH] intel: Fix typo --- src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6efa68626b6..a0574b8347d 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) -- 2.30.2