[GRASS-SVN] r33321 - in grass/branches/develbranch_6: gui/wxpython/nviz include

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 7 16:07:43 EDT 2008


Author: martinl
Date: 2008-09-07 16:07:42 -0400 (Sun, 07 Sep 2008)
New Revision: 33321

Modified:
   grass/branches/develbranch_6/gui/wxpython/nviz/nviz.h
   grass/branches/develbranch_6/gui/wxpython/nviz/nviz.i
   grass/branches/develbranch_6/include/nviz.h
Log:
nvizlib: Mac-related fixes (thanks to William Kyngesburye)


Modified: grass/branches/develbranch_6/gui/wxpython/nviz/nviz.h
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/nviz/nviz.h	2008-09-07 19:59:15 UTC (rev 33320)
+++ grass/branches/develbranch_6/gui/wxpython/nviz/nviz.h	2008-09-07 20:07:42 UTC (rev 33321)
@@ -5,9 +5,9 @@
 
 extern "C" {
 #include <grass/gis.h>
+#include <grass/nviz.h>
 #include <grass/gsurf.h>
 #include <grass/gstypes.h>
-#include <grass/nviz.h>
 }
 
 // For compilers that support precompilation, includes "wx.h".

Modified: grass/branches/develbranch_6/gui/wxpython/nviz/nviz.i
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/nviz/nviz.i	2008-09-07 19:59:15 UTC (rev 33320)
+++ grass/branches/develbranch_6/gui/wxpython/nviz/nviz.i	2008-09-07 20:07:42 UTC (rev 33321)
@@ -2,9 +2,9 @@
 
 %module grass6_wxnviz
 %{
+#include "nviz.h"
 #include <grass/gsurf.h>
 #include <grass/gstypes.h>
-#include "nviz.h"
 %}
 
 %include "std_vector.i"

Modified: grass/branches/develbranch_6/include/nviz.h
===================================================================
--- grass/branches/develbranch_6/include/nviz.h	2008-09-07 19:59:15 UTC (rev 33320)
+++ grass/branches/develbranch_6/include/nviz.h	2008-09-07 20:07:42 UTC (rev 33321)
@@ -128,9 +128,9 @@
     GLXPixmap windowId;
     Pixmap pixmap;
 #elif defined(OPENGL_AQUA)
-    AGLPixelFmtID pixelFmtId;
+    AGLPixelFormat pixelFmtId;
     AGLContext contextId;
-    AGLPixmap windowId;
+    AGLPbuffer windowId;
     GWorldPtr pixmap;
 #elif defined(OPENGL_WINDOWS)
     HDC displayId;		/* display context */



More information about the grass-commit mailing list