diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2013-11-20 12:59:22 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2013-12-04 17:22:42 -0800 |
commit | b092af40a52471297b29ba0c07c078f08d51cca0 (patch) | |
tree | e6a4aefbf664413fb08fad4fb7caef3b92ae0bfb /src/mesa | |
parent | 6c84fc2dbfdadf33dc7d3ddcd146e525c94eac99 (diff) |
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 <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 012e873f5aa..64689624098 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); } |