diff options
Diffstat (limited to 'src/gallium/state_trackers/nine/buffer9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/buffer9.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/nine/buffer9.h b/src/gallium/state_trackers/nine/buffer9.h index 8bdb4326a4c..c109cf66140 100644 --- a/src/gallium/state_trackers/nine/buffer9.h +++ b/src/gallium/state_trackers/nine/buffer9.h @@ -88,10 +88,10 @@ NineBuffer9_Upload( struct NineBuffer9 *This ) struct pipe_context *pipe = This->pipe; assert(This->base.pool == D3DPOOL_MANAGED && This->managed.dirty); - pipe->transfer_inline_write(pipe, This->base.resource, 0, 0, - &This->managed.dirty_box, - (char *)This->managed.data + This->managed.dirty_box.x, - This->size, This->size); + pipe->buffer_subdata(pipe, This->base.resource, 0, + This->managed.dirty_box.x, + This->managed.dirty_box.width, + (char *)This->managed.data + This->managed.dirty_box.x); This->managed.dirty = FALSE; } |