summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2009-10-07 03:26:03 +0100
committerJakob Bornecrantz <wallbraker@gmail.com>2009-10-07 13:48:32 +0100
commitf8ba93aefdf23b88a945d6037cd2e672c99b314c (patch)
tree057470506bc0a06ad4c48fb9130d1d03fc374352 /src/gallium/drivers/i915
parent030723fc5d3faa919cac245fc7b13430ca201826 (diff)
i915g: Change order of buffer_write arguments
They now follow the pipe_buffer_write style, its the gallium driver that sets the interface not the winsys.
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r--src/gallium/drivers/i915/intel_winsys.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915/intel_winsys.h b/src/gallium/drivers/i915/intel_winsys.h
index 42c5e7470e..2c8dc63f3f 100644
--- a/src/gallium/drivers/i915/intel_winsys.h
+++ b/src/gallium/drivers/i915/intel_winsys.h
@@ -153,13 +153,13 @@ struct intel_winsys {
/**
* Write to a buffer.
*
- * Arguments follows pwrite(2)
+ * Arguments follows pipe_buffer_write.
*/
int (*buffer_write)(struct intel_winsys *iws,
struct intel_buffer *dst,
- const void *src,
+ size_t offset,
size_t size,
- size_t offset);
+ const void *data);
void (*buffer_destroy)(struct intel_winsys *iws,
struct intel_buffer *buffer);