[Piglit] [PATCH] gl-3.1/minmax: require at least 0 in GL_NUM_COMPRESSED_TEXTURE_FORMATS

Marek Olšák maraeo at gmail.com
Fri Nov 1 16:53:15 CET 2013


From: Marek Olšák <marek.olsak at amd.com>

---
 tests/spec/gl-3.1/minmax.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/gl-3.1/minmax.c b/tests/spec/gl-3.1/minmax.c
index 1128939..ea8c3a6 100644
--- a/tests/spec/gl-3.1/minmax.c
+++ b/tests/spec/gl-3.1/minmax.c
@@ -79,7 +79,7 @@ piglit_init(int argc, char **argv)
 	piglit_test_range_float(GL_POINT_SIZE_RANGE, 1, 1);
 	piglit_test_range_float(GL_ALIASED_LINE_WIDTH_RANGE, 1, 1);
 	piglit_test_range_float(GL_SMOOTH_LINE_WIDTH_RANGE, 1, 1);
-	piglit_test_min_int(GL_NUM_COMPRESSED_TEXTURE_FORMATS, 4);
+	piglit_test_min_int(GL_NUM_COMPRESSED_TEXTURE_FORMATS, 0);
 	piglit_test_min_int(GL_MAX_TEXTURE_BUFFER_SIZE, 65536);
 	piglit_test_min_int(GL_MAX_RECTANGLE_TEXTURE_SIZE, 1024);
 
-- 
1.8.1.2



More information about the Piglit mailing list