summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-19 09:21:27 -0600
committerBrian Paul <[email protected]>2009-05-19 09:21:39 -0600
commit43d8ace88da80848035827c7bb4bbf5530b59a7c (patch)
tree3267e793d6e8e67515b404b70eef33ac03fceac0 /src/mesa/main/texobj.c
parentbd59dd69ba0f11f96e627c663c67cc15d1083776 (diff)
mesa: print more info when valid_texture_object() fails
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c3
1 files changed, 2 insertions, 1 deletions
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;
}
}