[mapserver-commits] r8969 - sandbox/graphics

svn at osgeo.org svn at osgeo.org
Tue Apr 28 05:00:42 EDT 2009


Author: tamas
Date: 2009-04-28 05:00:42 -0400 (Tue, 28 Apr 2009)
New Revision: 8969

Modified:
   sandbox/graphics/mapoutput.c
   sandbox/graphics/maprendering.c
Log:
Fix broken builds

Modified: sandbox/graphics/mapoutput.c
===================================================================
--- sandbox/graphics/mapoutput.c	2009-04-26 09:24:03 UTC (rev 8968)
+++ sandbox/graphics/mapoutput.c	2009-04-28 09:00:42 UTC (rev 8969)
@@ -1061,7 +1061,6 @@
 #endif
 #ifdef USE_OGL
     case MS_RENDER_WITH_OGL:
-    	r->use_imagecache_for_rotation = 1;
     	r->supports_transparent_layers = 1;
     	r->startNewLayer = msStartNewLayerOgl;
     	r->closeNewLayer = msCloseNewLayerOgl;

Modified: sandbox/graphics/maprendering.c
===================================================================
--- sandbox/graphics/maprendering.c	2009-04-26 09:24:03 UTC (rev 8968)
+++ sandbox/graphics/maprendering.c	2009-04-28 09:00:42 UTC (rev 8969)
@@ -208,12 +208,13 @@
 	tile = searchTileCache(img,symbol,s,width,height);
 	if(tile==NULL) {
         outputFormatObj format;
+        imageObj *tileimg;
         double p_x,p_y;
         p_x = width/2.0;
         p_y = height/2.0;
         format.driver = img->format->driver;
         format.imagemode = MS_IMAGEMODE_RGBA;
-        imageObj *tileimg = r->createImage(width,height,&format,NULL);
+        tileimg = r->createImage(width,height,&format,NULL);
         switch(symbol->type) {
             case (MS_SYMBOL_TRUETYPE):
                 r->renderTruetypeSymbol(tileimg, p_x, p_y, symbol, s);



More information about the mapserver-commits mailing list