From 7e86eb991b50e0f52e6a0404289ca73126da6414 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 24 Nov 2003 15:40:52 +0000 Subject: [PATCH] minor error string improvement --- src/mesa/main/texobj.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 10fff646767..4de4cf8c205 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -305,7 +305,9 @@ _mesa_test_texobj_completeness( const GLcontext *ctx, /* Always need the base level image */ if (!t->Image[baseLevel]) { - incomplete(t, "Image[baseLevel] == NULL"); + char s[100]; + sprintf(s, "obj %p (%d) Image[baseLevel=%d] == NULL", t, t->Name, baseLevel); + incomplete(t, s); t->Complete = GL_FALSE; return; } -- 2.30.2