On Fri, Feb 27, 2015 at 5:44 AM, Antia Puentes <[email protected]> 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
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/piglit

Reviewed-by: Anuj Phogat <[email protected]>
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to