From: Brian Paul Date: Tue, 19 May 2009 15:21:27 +0000 (-0600) Subject: mesa: print more info when valid_texture_object() fails X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43d8ace88da80848035827c7bb4bbf5530b59a7c;p=mesa.git mesa: print more info when valid_texture_object() fails --- diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 0024efc0e64..d51e7b76ec7 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -281,7 +281,8 @@ valid_texture_object(const struct gl_texture_object *tex) _mesa_problem(NULL, "invalid reference to a deleted texture object"); return GL_FALSE; default: - _mesa_problem(NULL, "invalid texture object Target value"); + _mesa_problem(NULL, "invalid texture object Target 0x%x, Id = %u", + tex->Target, tex->Name); return GL_FALSE; } }