diff options
author | Brian Paul <[email protected]> | 2010-05-03 16:13:20 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-05-03 16:13:20 -0600 |
commit | 295a87f6c211322faefc4ef7f88f02722973f5b6 (patch) | |
tree | 97447003c83c1f789217171bbf36601022cf0c9b /src/mesa/state_tracker/st_cb_texture.c | |
parent | 013b332cbcad2b9d113e00c467a65d072eb61cec (diff) |
st/mesa: remove unused needFlush parameter to st_finalize_texture()
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 5021dcbcb60..ed8eb2929a6 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -1812,8 +1812,7 @@ copy_image_data_to_texture(struct st_context *st, GLboolean st_finalize_texture(GLcontext *ctx, struct pipe_context *pipe, - struct gl_texture_object *tObj, - GLboolean *needFlush) + struct gl_texture_object *tObj) { struct st_context *st = st_context(ctx); struct st_texture_object *stObj = st_texture_object(tObj); @@ -1822,8 +1821,6 @@ st_finalize_texture(GLcontext *ctx, struct st_texture_image *firstImage; enum pipe_format firstImageFormat; - *needFlush = GL_FALSE; - if (stObj->base._Complete) { /* The texture is complete and we know exactly how many mipmap levels * are present/needed. This is conditional because we may be called @@ -1908,7 +1905,6 @@ st_finalize_texture(GLcontext *ctx, */ if (stImage && stObj->pt != stImage->pt) { copy_image_data_to_texture(st, stObj, level, stImage); - *needFlush = GL_TRUE; } } } |