diff options
author | Brian Paul <[email protected]> | 2009-07-28 08:58:25 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-07-28 08:58:25 -0600 |
commit | d2f6d6ce49699d35d6b6a234fe17a27d99f4b267 (patch) | |
tree | 22fcb97333ad7b6c57eb539c512a1dcc3d15a3aa /src/mesa/state_tracker | |
parent | 94726bc69e5f9dbefb34a38695f2f51d81ff433f (diff) | |
parent | bc60b884110b9e41ee3082075717587cc38380b5 (diff) |
Merge branch 'mesa_7_5_branch'
Conflicts:
Makefile
configs/default
docs/relnotes.html
src/mesa/main/version.h
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 15f84b66382..ee71c012c64 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -1047,7 +1047,8 @@ st_TexSubimage(GLcontext *ctx, GLint dims, GLenum target, GLint level, _mesa_image_image_stride(packing, width, height, format, type); GLint i; const GLubyte *src; - enum pipe_transfer_usage transfer_usage; + /* init to silence warning only: */ + enum pipe_transfer_usage transfer_usage = PIPE_TRANSFER_WRITE; DBG("%s target %s level %d offset %d,%d %dx%d\n", __FUNCTION__, _mesa_lookup_enum_by_nr(target), |