mesa: Pass the correct caller string to _mesa_lookup_or_create_texture

An actual bug found by the 'unused parameter' warning. :D

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7167>
This commit is contained in:
Ian Romanick 2020-10-12 16:53:37 -07:00
parent 9b847d4150
commit 25627ffe65
1 changed files with 1 additions and 1 deletions

View File

@ -1822,7 +1822,7 @@ bind_texture(struct gl_context *ctx, GLenum target, GLuint texName,
{
struct gl_texture_object *newTexObj =
_mesa_lookup_or_create_texture(ctx, target, texName, no_error, false,
"glBindTexture");
caller);
if (!newTexObj)
return;