From cc83986eb87d582e5edc87019fe48dca85fdf4fd Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 17 Jan 2012 17:06:09 +0100 Subject: [PATCH] reftests: Make test runner always use image surfaces See comment in code for why. --- tests/reftests/gtk-reftest.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/reftests/gtk-reftest.c b/tests/reftests/gtk-reftest.c index ae41d32010..0f15d6dc4f 100644 --- a/tests/reftests/gtk-reftest.c +++ b/tests/reftests/gtk-reftest.c @@ -568,6 +568,12 @@ add_tests_for_files_in_directory (GFile *dir) int main (int argc, char **argv) { + /* I don't want to fight fuzzy scaling algorithms in GPUs, + * so unles you explicitly set it to something else, we + * will use Cairo's image surface. + */ + g_setenv ("GDK_RENDERING", "image", FALSE); + if (!parse_command_line (&argc, &argv)) return 1;