OSDN Git Service
(root)
/
android-x86
/
external-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
9eb1403
..
124cd32
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,