mesa: better debug message in _mesa_test_texobj_completeness()
authorBrian Paul <brianp@vmware.com>
Sat, 17 Mar 2012 22:30:02 +0000 (16:30 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 20 Mar 2012 14:23:32 +0000 (08:23 -0600)
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/texobj.c

index 9934f2a446c0e9325e130bde24d771952a4c2a94..3d89ca179ceca4d6605dd9fe9b8584f031042354 100644 (file)
@@ -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;
    }