summarylogtreecommitdiffstats
path: root/cairo-server-side-gradients.patch
blob: b5b012aaf21051af24bc57d300e2ed6656698f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Description: don't use server side gradients most drivers don't handle it
Index: cairo-1.12.2/src/cairo-xlib-display.c
===================================================================
--- a/src/cairo-xlib-display.c	2015-03-10 23:21:07.000000000 +0100
+++ b/src/cairo-xlib-display.c	2015-03-11 21:59:05.751030406 +0100
@@ -263,11 +263,7 @@ _cairo_xlib_device_create (Display *dpy)
     /* Prior to Render 0.10, there is no protocol support for gradients and
      * we call function stubs instead, which would silently consume the drawing.
      */
-#if RENDER_MAJOR == 0 && RENDER_MINOR < 10
     display->buggy_gradients = TRUE;
-#else
-    display->buggy_gradients = FALSE;
-#endif
     display->buggy_pad_reflect = FALSE;
     display->buggy_repeat = FALSE;