[Piglit] [PATCH 5/5] max-texture-size: improve error message info
Brian Paul
brianp at vmware.com
Fri Sep 27 17:13:30 PDT 2013
---
tests/texturing/max-texture-size.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/texturing/max-texture-size.c b/tests/texturing/max-texture-size.c
index cb0c399..7b6b3fc 100644
--- a/tests/texturing/max-texture-size.c
+++ b/tests/texturing/max-texture-size.c
@@ -180,7 +180,8 @@ ValidateTexSize (GLenum target, GLenum internalformat, bool useProxy)
pixels = initTexData(target, maxSide);
if (pixels == NULL) {
- printf("Error allocating texture data array\n");
+ printf("Error allocating texture data array for target %s, size %d\n",
+ piglit_get_gl_enum_name(target), maxSide);
piglit_report_result(PIGLIT_SKIP);
}
}
--
1.7.10.4
More information about the Piglit
mailing list