projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d5060
)
mesa/st: add missing _mesa_set_fetch_functions in st_get_tex_image
author
Luca Barbieri
<luca@luca-barbieri.com>
Sat, 4 Sep 2010 03:13:06 +0000
(
05:13
+0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Sat, 4 Sep 2010 03:13:06 +0000
(
05:13
+0200)
Fixes piglit fdo25614-genmipmap.
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 9eb14033eeb57765cab10a19e1eebd6ee8e2b7dd..124cd32e13e014d98d60923730371ae3b3a94834 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_texture.c
+++ b/
src/mesa/state_tracker/st_cb_texture.c
@@
-996,6
+996,8
@@
st_get_tex_image(GLcontext * ctx, GLenum target, GLint level,
dest = (GLubyte *) pixels;
+ _mesa_set_fetch_functions(texImage, get_texture_dims(target));
+
for (i = 0; i < depth; i++) {
if (compressed_dst) {
_mesa_get_compressed_teximage(ctx, target, level, dest,