mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
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>
This commit is contained in:
parent
6c84fc2dbf
commit
b092af40a5
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue