Module: Mesa
Branch: master
Commit: 085d2bb97e7686d2445fc95aa60281343e8d3116
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=085d2bb97e7686d2445fc95aa60281343e8d3116

Author: Brian Paul <[email protected]>
Date:   Sat Mar 17 16:30:02 2012 -0600

mesa: better debug message in _mesa_test_texobj_completeness()

Reviewed-by: José Fonseca <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>

---

 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;
    }
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to