[Mesa-dev] [PATCH 05/13] mesa: better debug message in _mesa_test_texobj_completeness()

Brian Paul brianp at vmware.com
Sun Mar 18 09:49:21 PDT 2012


---
 src/mesa/main/texobj.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 9934f2a..3d89ca1 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;
    }
 
-- 
1.7.3.4



More information about the mesa-dev mailing list