diff options
author | Daniel Vetter <[email protected]> | 2011-03-01 20:36:12 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2011-03-01 20:57:57 +0100 |
commit | 583eb139480fb1265b5106a09dcec8ce42d1124d (patch) | |
tree | beb442ee6446a67f8c3b9e56d32ca44cb73185ba /src/gallium/drivers | |
parent | d1fc920f613aa349e6721963e22e12c6eb49e3f9 (diff) |
i915g: fix i915_winsys_batchbuffer_write
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/i915/i915_batchbuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_batchbuffer.h b/src/gallium/drivers/i915/i915_batchbuffer.h index b4a91dabb37..ada713b0cb9 100644 --- a/src/gallium/drivers/i915/i915_batchbuffer.h +++ b/src/gallium/drivers/i915/i915_batchbuffer.h @@ -71,7 +71,7 @@ i915_winsys_batchbuffer_write(struct i915_winsys_batchbuffer *batch, { assert (i915_winsys_batchbuffer_space(batch) >= size); - memcpy(data, batch->ptr, size); + memcpy(batch->ptr, data, size); batch->ptr += size; } |