summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-03-17 16:30:02 -0600
committerBrian Paul <[email protected]>2012-03-20 08:23:32 -0600
commit085d2bb97e7686d2445fc95aa60281343e8d3116 (patch)
tree8187d9d86cc262d97fe438887fd05c0dd4920e88 /src
parent4c9537f7d06af9f7f8a706ecd784ce3b04e132e8 (diff)
mesa: better debug message in _mesa_test_texobj_completeness()
Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/texobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 9934f2a446c..3d89ca179ce 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -454,7 +454,7 @@ _mesa_test_texobj_completeness( const struct gl_context *ctx,
if (t->Image[0][baseLevel]->Width == 0 ||
t->Image[0][baseLevel]->Height == 0 ||
t->Image[0][baseLevel]->Depth == 0) {
- incomplete(t, "texture width = 0");
+ incomplete(t, "texture width or height or depth = 0");
return;
}