Module: Mesa Branch: master Commit: 25627ffe656339da9477d47039d3ad561dd70fd3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=25627ffe656339da9477d47039d3ad561dd70fd3
Author: Ian Romanick <ian.d.roman...@intel.com> Date: Mon Oct 12 16:53:37 2020 -0700 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 <matts...@gmail.com> Reviewed-by: Kristian H. Kristensen <hoegsb...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7167> --- src/mesa/main/texobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit