[GRASS-SVN] r35244 - in grass/trunk: include lib/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 6 16:35:31 EST 2009
Author: glynn
Date: 2009-01-06 16:35:31 -0500 (Tue, 06 Jan 2009)
New Revision: 35244
Modified:
grass/trunk/include/nviz.h
grass/trunk/lib/nviz/render.c
Log:
MacOSX changes: remove unused pixmap field, add aglSetPBuffer() call
Modified: grass/trunk/include/nviz.h
===================================================================
--- grass/trunk/include/nviz.h 2009-01-06 21:33:43 UTC (rev 35243)
+++ grass/trunk/include/nviz.h 2009-01-06 21:35:31 UTC (rev 35244)
@@ -131,7 +131,6 @@
AGLPixelFormat pixelFmtId;
AGLContext contextId;
AGLPbuffer windowId;
- GWorldPtr pixmap;
#elif defined(OPENGL_WINDOWS)
HDC displayId; /* display context */
HGLRC contextId; /* rendering context */
Modified: grass/trunk/lib/nviz/render.c
===================================================================
--- grass/trunk/lib/nviz/render.c 2009-01-06 21:33:43 UTC (rev 35243)
+++ grass/trunk/lib/nviz/render.c 2009-01-06 21:35:31 UTC (rev 35244)
@@ -205,6 +205,7 @@
return 1;
aglSetCurrentContext(rwin->contextId);
+ aglSetPBuffer(rwin->contextId, rwin->windowId, 0, 0, 0);
#elif defined(OPENGL_WINDOWS)
if (!rwin->displayId || !rwin->contextId)
return 0;
More information about the grass-commit
mailing list