Module: Mesa Branch: master Commit: b092af40a52471297b29ba0c07c078f08d51cca0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b092af40a52471297b29ba0c07c078f08d51cca0
Author: Ian Romanick <[email protected]> Date: Wed Nov 20 12:59:22 2013 -0800 mesa: Silence GCC warning in count_tex_size main/texobj.c: In function 'count_tex_size': main/texobj.c:886:23: warning: unused parameter 'key' [-Wunused-parameter] Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Brian Paul <[email protected]> --- src/mesa/main/texobj.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 012e873..6468962 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -889,6 +889,8 @@ count_tex_size(GLuint key, void *data, void *userData) (const struct gl_texture_object *) data; GLuint *total = (GLuint *) userData; + (void) key; + *total = *total + texture_size(texObj); } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
