From a850e69b7e6de1d6926b2944b795826c2cc5c1c1 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sat, 22 Oct 2016 12:00:40 +0200 Subject: 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" Signed-off-by: Axel Davy (cherry picked from commit eed605a473554575305e1bf10c3641761a85feb9) --- src/gallium/state_trackers/nine/surface9.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/state_trackers') diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c index 664b78f..076294c 100644 --- a/src/gallium/state_trackers/nine/surface9.c +++ b/src/gallium/state_trackers/nine/surface9.c @@ -447,6 +447,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); -- cgit v1.1