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 fe7bb46134)
This commit is contained in:
Axel Davy 2016-10-22 11:59:11 +02:00 committed by Emil Velikov
parent 7133f0054d
commit 5abbe84671

View file

@ -374,7 +374,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);