From: Ian Romanick <ian.d.roman...@intel.com> main/texobj.c: In function 'count_tex_size': main/texobj.c:886:23: warning: unused parameter 'key' [-Wunused-parameter]
Signed-off-by: Ian Romanick <ian.d.roman...@intel.com> --- src/mesa/main/texobj.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 1.8.1.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev