[mapserver-commits] r12856 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Dec 6 11:13:49 EST 2011


Author: assefa
Date: 2011-12-06 08:13:49 -0800 (Tue, 06 Dec 2011)
New Revision: 12856

Modified:
   trunk/mapserver/mapcairo.c
Log:
revert back to initial source color setting (#3671)

Modified: trunk/mapserver/mapcairo.c
===================================================================
--- trunk/mapserver/mapcairo.c	2011-12-06 15:23:12 UTC (rev 12855)
+++ trunk/mapserver/mapcairo.c	2011-12-06 16:13:49 UTC (rev 12856)
@@ -638,7 +638,7 @@
         r->cr = cairo_create(r->surface);
         if(format->transparent || !bg || !MS_VALID_COLOR(*bg)) {
            r->use_alpha = 1;
-           cairo_set_source_rgba (r->cr, 255,255,255,1);
+	   cairo_set_source_rgba (r->cr, 0,0,0,0);
         } else {
            r->use_alpha = 0;
            msCairoSetSourceColor(r->cr,bg);



More information about the mapserver-commits mailing list