[mapserver-commits] r10285 - sandbox/mapserver6

svn at osgeo.org svn at osgeo.org
Tue Jul 6 02:58:57 EDT 2010


Author: tbonfort
Date: 2010-07-06 06:58:57 +0000 (Tue, 06 Jul 2010)
New Revision: 10285

Modified:
   sandbox/mapserver6/mapdraw.c
Log:
remove gd specific hook


Modified: sandbox/mapserver6/mapdraw.c
===================================================================
--- sandbox/mapserver6/mapdraw.c	2010-07-06 06:57:05 UTC (rev 10284)
+++ sandbox/mapserver6/mapdraw.c	2010-07-06 06:58:57 UTC (rev 10285)
@@ -151,8 +151,8 @@
         rendererVTableObj *renderer = map->outputformat->vtable;
         colorObj *bg = &map->imagecolor;
         map->imagecolor.alpha=255;
-        if(map->transparent == MS_TRUE && map->outputformat->renderer != MS_RENDER_WITH_GD) {
-           //don't set the image color, unless using the gd renderer as in this case the first used color is the transparent one
+        if(map->transparent == MS_TRUE) {
+           //don't set the image color
            bg = NULL;
         }
         image = renderer->createImage(map->width, map->height, map->outputformat,bg);



More information about the mapserver-commits mailing list