projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afec42a
)
st/mesa: fix GetTexImage for compressed cubemaps
author
Marek Olšák
<maraeo@gmail.com>
Thu, 20 Dec 2012 00:41:57 +0000
(
01:41
+0100)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 4 Jan 2013 13:05:52 +0000
(14:05 +0100)
I'll deal with 2D arrays later.
NOTE: This is a candidate for the stable branches.
src/mesa/state_tracker/st_cb_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_texture.c
b/src/mesa/state_tracker/st_cb_texture.c
index bf13526d2ff06012127a248e76725b2954c7d790..77d06503d6500ac66cf78d28ebc71d0732cfcbbe 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_texture.c
+++ b/
src/mesa/state_tracker/st_cb_texture.c
@@
-598,7
+598,7
@@
decompress_with_blit(struct gl_context * ctx,
blit.dst.format = dst_texture->format;
blit.src.box.x = blit.dst.box.x = 0;
blit.src.box.y = blit.dst.box.y = 0;
- blit.src.box.z =
0; /* XXX compressed array textures? */
+ blit.src.box.z =
texImage->Face;
blit.dst.box.z = 0;
blit.src.box.width = blit.dst.box.width = width;
blit.src.box.height = blit.dst.box.height = height;