[Piglit] [PATCH] arb_framebuffer_srgb/blit: Fix command line option 'disabled'
Antia Puentes
apuentes at igalia.com
Fri Feb 27 05:44:19 PST 2015
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
More information about the Piglit
mailing list