diff options
author | Axel Davy <[email protected]> | 2016-10-22 11:59:11 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-10-24 21:56:44 +0200 |
commit | fe7bb46134162c9a9a18832f1746991aa78121e8 (patch) | |
tree | 14012508713a87486bf65bbe066cdd75090227a1 /src/gallium/state_trackers/nine | |
parent | 942778099ea597ee6b04ebdc74f506667fc7782c (diff) |
st/nine: Fix mistake in Volume9 UnlockBox
In the format fallback path,
the height was used instead of the depth.
CC: "12.0 13.0" <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine')
-rw-r--r-- | src/gallium/state_trackers/nine/volume9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/volume9.c b/src/gallium/state_trackers/nine/volume9.c index 89565f24732..a31dc0ad88e 100644 --- a/src/gallium/state_trackers/nine/volume9.c +++ b/src/gallium/state_trackers/nine/volume9.c @@ -373,7 +373,7 @@ NineVolume9_UnlockBox( struct NineVolume9 *This ) This->layer_stride_conversion, 0, 0, 0, This->desc.Width, This->desc.Height, - This->desc.Height); + This->desc.Depth); if (!This->data) pipe_transfer_unmap(This->pipe, transfer); |