diff options
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); } |