diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 1d057b88cea..8a2d2fe8659 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -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;