diff options
author | marha <marha@users.sourceforge.net> | 2011-03-13 20:15:26 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-03-13 20:15:26 +0000 |
commit | b5d1fd89898edb34f73679b542c754d837d44cf8 (patch) | |
tree | b3d14f22d0c5fd984f5ec1ed71ad5263a46e1583 /mesalib/src/mesa/state_tracker/st_cb_texture.c | |
parent | 77ec02adbc8f9657e7749b307d3cc86ccbd163ea (diff) | |
download | vcxsrv-b5d1fd89898edb34f73679b542c754d837d44cf8.tar.gz vcxsrv-b5d1fd89898edb34f73679b542c754d837d44cf8.tar.bz2 vcxsrv-b5d1fd89898edb34f73679b542c754d837d44cf8.zip |
xkeyboard-config libxcb pixman mesalib git update 13 Mar 2011
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r-- | mesalib/src/mesa/state_tracker/st_cb_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_cb_texture.c b/mesalib/src/mesa/state_tracker/st_cb_texture.c index 8bdb3c801..1b824c0de 100644 --- a/mesalib/src/mesa/state_tracker/st_cb_texture.c +++ b/mesalib/src/mesa/state_tracker/st_cb_texture.c @@ -1530,7 +1530,7 @@ st_copy_texsubimage(struct gl_context *ctx, GLint srcY0, srcY1;
struct pipe_surface surf_tmpl;
memset(&surf_tmpl, 0, sizeof(surf_tmpl));
- surf_tmpl.format = stImage->pt->format;
+ surf_tmpl.format = util_format_linear(stImage->pt->format);
surf_tmpl.usage = PIPE_BIND_RENDER_TARGET;
surf_tmpl.u.tex.level = stImage->level;
surf_tmpl.u.tex.first_layer = stImage->face + destZ;
|