projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe7bb46
)
st/nine: Fix locking CubeTexture surfaces.
author
Axel Davy
<axel.davy@ens.fr>
Sat, 22 Oct 2016 10:00:40 +0000
(12:00 +0200)
committer
Axel Davy
<axel.davy@ens.fr>
Mon, 24 Oct 2016 19:56:44 +0000
(21:56 +0200)
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>
src/gallium/state_trackers/nine/surface9.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/surface9.c
b/src/gallium/state_trackers/nine/surface9.c
index 1b00b96b93306468ae48e3f9caa7775767a6d18d..2efdfd1b878ffd046e0a89a161b8222ba91840ae 100644
(file)
--- 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);