[Piglit] [PATCH] arb_framebuffer_srgb/blit: Fix command line option 'disabled'
Anuj Phogat
anuj.phogat at gmail.com
Mon Mar 2 10:19:14 PST 2015
On Fri, Feb 27, 2015 at 5:44 AM, Antia Puentes <apuentes at igalia.com> wrote:
> To test the blit with FRAMEBUFFER_SRGB disabled, if the option
> 'disabled' was passed to the command line, was not being done.
> ---
> tests/spec/arb_framebuffer_srgb/blit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/spec/arb_framebuffer_srgb/blit.c b/tests/spec/arb_framebuffer_srgb/blit.c
> index 5f971b6..ff07ad7 100644
> --- a/tests/spec/arb_framebuffer_srgb/blit.c
> +++ b/tests/spec/arb_framebuffer_srgb/blit.c
> @@ -275,7 +275,7 @@ piglit_init(int argc, char **argv)
> if (strcmp(argv[4], "enabled") == 0) {
> enable_srgb_framebuffer = true;
> } else if (strcmp(argv[4], "disabled") == 0) {
> - enable_srgb_framebuffer = true;
> + enable_srgb_framebuffer = false;
> } else {
> print_usage_and_exit(argv[0]);
> }
> --
> 2.1.0
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
More information about the Piglit
mailing list