intel: Fix type correctly this time
authorJakob Bornecrantz <wallbraker@gmail.com>
Wed, 28 Jan 2009 22:40:10 +0000 (23:40 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Wed, 28 Jan 2009 22:40:10 +0000 (23:40 +0100)
Facepalm.

src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c

index a0574b8..78f5ea0 100644 (file)
@@ -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)