[Piglit] [PATCH] getteximage-formats: pass argc, not 1, to fbo_formats_init() call

Brian Paul brianp at vmware.com
Thu Feb 18 03:43:40 UTC 2016


Now we can specify the format group on the command line and have it
actually work.
---
 tests/texturing/getteximage-formats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/texturing/getteximage-formats.c b/tests/texturing/getteximage-formats.c
index 320683f..0a66831 100644
--- a/tests/texturing/getteximage-formats.c
+++ b/tests/texturing/getteximage-formats.c
@@ -534,7 +534,7 @@ piglit_init(int argc, char **argv)
 		piglit_report_result(PIGLIT_SKIP);
 	}
 
-	fbo_formats_init(1, argv, !piglit_automatic);
+	fbo_formats_init(argc, argv, !piglit_automatic);
 	(void) fbo_formats_display;
 
 	for (i = 1; i < argc; i++) {
-- 
1.9.1



More information about the Piglit mailing list