diff options
author | Brian Paul <brianp@vmware.com> | 2010-05-03 16:13:20 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-05-03 16:13:20 -0600 |
commit | 295a87f6c211322faefc4ef7f88f02722973f5b6 (patch) | |
tree | 97447003c83c1f789217171bbf36601022cf0c9b /src/mesa/state_tracker/st_atom_texture.c | |
parent | 013b332cbcad2b9d113e00c467a65d072eb61cec (diff) |
st/mesa: remove unused needFlush parameter to st_finalize_texture()
Diffstat (limited to 'src/mesa/state_tracker/st_atom_texture.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom_texture.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_atom_texture.c b/src/mesa/state_tracker/st_atom_texture.c index 2575adda8f..217116e0a0 100644 --- a/src/mesa/state_tracker/st_atom_texture.c +++ b/src/mesa/state_tracker/st_atom_texture.c @@ -62,7 +62,7 @@ update_textures(struct st_context *st) if (samplersUsed & (1 << su)) { struct gl_texture_object *texObj; struct st_texture_object *stObj; - GLboolean flush, retval; + GLboolean retval; GLuint texUnit; if (fprog->Base.SamplersUsed & (1 << su)) @@ -77,7 +77,7 @@ update_textures(struct st_context *st) } stObj = st_texture_object(texObj); - retval = st_finalize_texture(st->ctx, st->pipe, texObj, &flush); + retval = st_finalize_texture(st->ctx, st->pipe, texObj); if (!retval) { /* out of mem */ continue; @@ -140,9 +140,9 @@ finalize_textures(struct st_context *st) = st->ctx->Texture.Unit[texUnit]._Current; if (texObj) { - GLboolean flush, retval; + GLboolean retval; - retval = st_finalize_texture(st->ctx, st->pipe, texObj, &flush); + retval = st_finalize_texture(st->ctx, st->pipe, texObj); if (!retval) { /* out of mem */ st->missing_textures = GL_TRUE; |