summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm/intel/gem
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-01-28 23:40:10 +0100
committerJakob Bornecrantz <[email protected]>2009-01-28 23:40:10 +0100
commite74be3f08ec023ffe7c9e79a5ab589d3a12f3a3f (patch)
tree5a867f4ffd30b58b147846ceff85a7ad4f0055e1 /src/gallium/winsys/drm/intel/gem
parentb5fc2a68e8fd07773d424aade2f9d32d4c7bf607 (diff)
intel: Fix type correctly this time
Facepalm.
Diffstat (limited to 'src/gallium/winsys/drm/intel/gem')
-rw-r--r--src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c2
1 files changed, 1 insertions, 1 deletions
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 a0574b8347d..78f5ea0468f 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)