diff options
author | Axel Davy <axel.davy@ens.fr> | 2016-10-22 11:59:11 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-10-27 11:02:45 +0100 |
commit | d576a2b0e6436b012c182969b69cd329f365a54c (patch) | |
tree | a3af8d217c841a234cae2b1fd38c1ddfa35422bd /src/gallium/state_trackers | |
parent | 32caa7438a49bcef2e575c03da825beb198403e8 (diff) | |
download | external_mesa3d-d576a2b0e6436b012c182969b69cd329f365a54c.zip external_mesa3d-d576a2b0e6436b012c182969b69cd329f365a54c.tar.gz external_mesa3d-d576a2b0e6436b012c182969b69cd329f365a54c.tar.bz2 |
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" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
(cherry picked from commit fe7bb46134162c9a9a18832f1746991aa78121e8)
Diffstat (limited to 'src/gallium/state_trackers')
-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 e2201af..8e8bd68 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); |