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_gen_mipmap.c | |
parent | 013b332cbcad2b9d113e00c467a65d072eb61cec (diff) |
st/mesa: remove unused needFlush parameter to st_finalize_texture()
Diffstat (limited to 'src/mesa/state_tracker/st_gen_mipmap.c')
-rw-r--r-- | src/mesa/state_tracker/st_gen_mipmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_gen_mipmap.c b/src/mesa/state_tracker/st_gen_mipmap.c index a015c4bb58..6b1d51b3f4 100644 --- a/src/mesa/state_tracker/st_gen_mipmap.c +++ b/src/mesa/state_tracker/st_gen_mipmap.c @@ -311,7 +311,6 @@ st_generate_mipmap(GLcontext *ctx, GLenum target, * mipmap levels we need to generate. So allocate a new texture. */ struct pipe_resource *oldTex = stObj->pt; - GLboolean needFlush; /* create new texture with space for more levels */ stObj->pt = st_texture_create(st, @@ -331,7 +330,7 @@ st_generate_mipmap(GLcontext *ctx, GLenum target, /* This will copy the old texture's base image into the new texture * which we just allocated. */ - st_finalize_texture(ctx, st->pipe, texObj, &needFlush); + st_finalize_texture(ctx, st->pipe, texObj); /* release the old tex (will likely be freed too) */ pipe_resource_reference(&oldTex, NULL); |