diff options
author | Luca Barbieri <[email protected]> | 2010-09-04 05:13:06 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-09-04 05:13:06 +0200 |
commit | 603bef557220d68dbb165e775c7c9b0d6db7709e (patch) | |
tree | 195ec2092f99b44bede46c990fbaafd6b9c492a6 /src/mesa/state_tracker | |
parent | f1d50606ba4f5d19b917e5b92f9b16581f67b3eb (diff) |
mesa/st: add missing _mesa_set_fetch_functions in st_get_tex_image
Fixes piglit fdo25614-genmipmap.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 9eb14033eeb..124cd32e13e 100644 --- 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, |