diff options
author | Axel Davy <axel.davy@ens.fr> | 2016-10-22 12:00:40 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-11-08 16:23:21 +0000 |
commit | a106d8c8726f05bd25427a8a6877ccf1d9645add (patch) | |
tree | 3a050d665f897683b2eaa94da0430e7c936bd321 | |
parent | 5abbe8467124bb45dcc0918b645111f77321e0d2 (diff) | |
download | external_mesa3d-a106d8c8726f05bd25427a8a6877ccf1d9645add.zip external_mesa3d-a106d8c8726f05bd25427a8a6877ccf1d9645add.tar.gz external_mesa3d-a106d8c8726f05bd25427a8a6877ccf1d9645add.tar.bz2 |
st/nine: Fix locking CubeTexture surfaces.
Only one face of Cubetextures was locked when in DEFAULT Pool.
Fixes:
https://github.com/iXit/Mesa-3D/issues/129
CC: "12.0 13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
(cherry picked from commit eed605a473554575305e1bf10c3641761a85feb9)
-rw-r--r-- | src/gallium/state_trackers/nine/surface9.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c index 2606dbf..aff4d4c 100644 --- a/src/gallium/state_trackers/nine/surface9.c +++ b/src/gallium/state_trackers/nine/surface9.c @@ -405,6 +405,7 @@ NineSurface9_LockRect( struct NineSurface9 *This, } else { u_box_origin_2d(This->desc.Width, This->desc.Height, &box); } + box.z = This->layer; user_warn(This->desc.Format == D3DFMT_NULL); |