[mapserver-commits] r11459 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Apr 4 14:45:34 EDT 2011


Author: toby
Date: 2011-04-04 11:45:34 -0700 (Mon, 04 Apr 2011)
New Revision: 11459

Modified:
   trunk/mapserver/mapogl.cpp
Log:
Fixed setting default transform mode for OpenGL renderer. transform_mode was set instead of default_transform_mode, which was causing everything to drawn off the canvas.

Modified: trunk/mapserver/mapogl.cpp
===================================================================
--- trunk/mapserver/mapogl.cpp	2011-04-04 18:10:03 UTC (rev 11458)
+++ trunk/mapserver/mapogl.cpp	2011-04-04 18:45:34 UTC (rev 11459)
@@ -201,7 +201,7 @@
 		renderer->supports_clipping = 0;
 		renderer->use_imagecache = 0;
 		renderer->supports_bitmap_fonts = 0;
-		renderer->transform_mode = MS_TRANSFORM_SIMPLIFY;
+		renderer->default_transform_mode = MS_TRANSFORM_SIMPLIFY;
     	renderer->startLayer = msStartLayerOgl;
     	renderer->endLayer = msEndLayerOgl;        
         



More information about the mapserver-commits mailing list