summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm/intel
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-10-07 03:26:03 +0100
committerJakob Bornecrantz <[email protected]>2009-10-07 13:48:32 +0100
commitf8ba93aefdf23b88a945d6037cd2e672c99b314c (patch)
tree057470506bc0a06ad4c48fb9130d1d03fc374352 /src/gallium/winsys/drm/intel
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/winsys/drm/intel')
-rw-r--r--src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c b/src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c
index 327e19fcd68..ac4dd6e00e9 100644
--- a/src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c
+++ b/src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c
@@ -119,9 +119,9 @@ intel_drm_buffer_unmap(struct intel_winsys *iws,
static int
intel_drm_buffer_write(struct intel_winsys *iws,
struct intel_buffer *buffer,
- const void *data,
+ size_t offset,
size_t size,
- size_t offset)
+ const void *data)
{
struct intel_drm_buffer *buf = intel_drm_buffer(buffer);