diff options
author | Antia Puentes <apuentes@igalia.com> | 2015-02-27 14:44:19 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | 2015-03-03 12:13:49 +0100 |
commit | 75c660553d1db20a08528d5a3458568391079e86 (patch) | |
tree | e3a4345e48ca847bc3b383aac7024a29dd0bfe52 /tests/spec/arb_framebuffer_srgb | |
parent | 448427600ac3f75e1827cf9f5a0b3efc83a57c83 (diff) |
arb_framebuffer_srgb/blit: Fix command line option 'disabled'
To test the blit with FRAMEBUFFER_SRGB disabled, if the option
'disabled' was passed to the command line, was not being done.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'tests/spec/arb_framebuffer_srgb')
-rw-r--r-- | tests/spec/arb_framebuffer_srgb/blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/arb_framebuffer_srgb/blit.c b/tests/spec/arb_framebuffer_srgb/blit.c index 5f971b62b..ff07ad72e 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]); } |