diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-22 11:30:38 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-22 11:30:38 +0000 |
commit | 990fd441d914d74edd529273f24250ac432223d6 (patch) | |
tree | a5ed4fb450d865689776cfa71e4b04d59e3bca19 /tools | |
parent | 00ebb6a2dcf87c653b5afb8f228a637e73c11ccd (diff) |
add patch for Cairo when used on some older nvidia drivers that don't draw gradients correctly. it doesn't fix the problem but allows a user to set FORCE_BUGGY_GRADIENTS in their environment and that will fix it at run time
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12375 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rw-r--r-- | tools/misc-patches/cairo-gradients.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/misc-patches/cairo-gradients.patch b/tools/misc-patches/cairo-gradients.patch new file mode 100644 index 0000000000..c805d4d962 --- /dev/null +++ b/tools/misc-patches/cairo-gradients.patch @@ -0,0 +1,16 @@ +--- src/cairo-xlib-display.c 2010-09-09 10:56:24.000000000 -0500 ++++ ../../Current/cairo-1.10.2/src/cairo-xlib-display.c 2011-11-16 11:19:08.000000000 -0600 +@@ -356,7 +356,12 @@ + #if RENDER_MAJOR == 0 && RENDER_MINOR < 10 + display->buggy_gradients = TRUE; + #else +- display->buggy_gradients = FALSE; ++ if (getenv ("FORCE_BUGGY_GRADIENTS")) { ++ display->buggy_gradients = TRUE; ++ } ++ else { ++ display->buggy_gradients = FALSE; ++ } + #endif + display->buggy_pad_reflect = FALSE; + display->buggy_repeat = FALSE; |