summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/state_trackers/nine/buffer9.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-01-29 11:52:33 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-01-29 11:52:33 +0000
commit37bbf6a1792773f11c15a4da1588a7520ee2fb4e (patch)
tree64944d4aa665a1e479cfc004e446593062254550 /lib/mesa/src/gallium/state_trackers/nine/buffer9.h
parent6b139c2063623e9310025247cd966490b9aa57ea (diff)
Merge Mesa 18.3.2
Diffstat (limited to 'lib/mesa/src/gallium/state_trackers/nine/buffer9.h')
-rw-r--r--lib/mesa/src/gallium/state_trackers/nine/buffer9.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/state_trackers/nine/buffer9.h b/lib/mesa/src/gallium/state_trackers/nine/buffer9.h
index b04a0a721..1803d8d64 100644
--- a/lib/mesa/src/gallium/state_trackers/nine/buffer9.h
+++ b/lib/mesa/src/gallium/state_trackers/nine/buffer9.h
@@ -104,7 +104,9 @@ NineBuffer9_Upload( struct NineBuffer9 *This )
struct NineDevice9 *device = This->base.base.device;
assert(This->base.pool == D3DPOOL_MANAGED && This->managed.dirty);
- nine_context_range_upload(device, &This->managed.pending_upload, This->base.resource,
+ nine_context_range_upload(device, &This->managed.pending_upload,
+ (struct NineUnknown *)This,
+ This->base.resource,
This->managed.dirty_box.x,
This->managed.dirty_box.width,
(char *)This->managed.data + This->managed.dirty_box.x);