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:
parent
9b847d4150
commit
25627ffe65
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue