aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_cb_texture.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-18 08:30:48 +0200
committermarha <marha@users.sourceforge.net>2012-06-18 08:30:48 +0200
commitc264407352572f07e31695637d3d78d07ae0bae8 (patch)
treecf44f0d28a474db43950161c02bba835285ba383 /mesalib/src/mesa/state_tracker/st_cb_texture.c
parent369603df0452765724d3b53cd77a9f4bf3809fa1 (diff)
parenta3691edaff553b5130c97ff912ecaa96f08a6643 (diff)
downloadvcxsrv-c264407352572f07e31695637d3d78d07ae0bae8.tar.gz
vcxsrv-c264407352572f07e31695637d3d78d07ae0bae8.tar.bz2
vcxsrv-c264407352572f07e31695637d3d78d07ae0bae8.zip
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_cb_texture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_cb_texture.c b/mesalib/src/mesa/state_tracker/st_cb_texture.c
index 9d1b7f672..67c3f9590 100644
--- a/mesalib/src/mesa/state_tracker/st_cb_texture.c
+++ b/mesalib/src/mesa/state_tracker/st_cb_texture.c
@@ -600,6 +600,7 @@ decompress_with_blit(struct gl_context * ctx,
u_sampler_view_default_template(&sv_temp, stObj->pt, stObj->pt->format);
+ sv_temp.format = util_format_linear(sv_temp.format);
sv_temp.u.tex.first_level =
sv_temp.u.tex.last_level = texImage->Level;