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

Anuj Phogat anuj.phogat at gmail.com
Fri Feb 26 21:57:16 UTC 2016


On Wed, Feb 17, 2016 at 7:43 PM, Brian Paul <brianp at vmware.com> wrote:
>
> 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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit

Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the Piglit mailing list