minor error string improvement
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 24 Nov 2003 15:40:52 +0000 (15:40 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 24 Nov 2003 15:40:52 +0000 (15:40 +0000)
src/mesa/main/texobj.c

index 10fff6467671e06196d6f49bdd08ed32df050764..4de4cf8c20546a61483bd5c0df7b52cb6ee948f7 100644 (file)
@@ -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;
    }