summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-11-24 15:40:52 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-11-24 15:40:52 +0000
commit7e86eb991b50e0f52e6a0404289ca73126da6414 (patch)
treeb45b4601ba405a138d69f4f62e7b0dbb044cb5b4 /src/mesa/main
parent0dde1904c898a1b6b2181cae85477b8338f95765 (diff)
minor error string improvement
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texobj.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 10fff64676..4de4cf8c20 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;
}