mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
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 eed605a473)
This commit is contained in:
parent
d576a2b0e6
commit
a850e69b7e
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue