[GRASS-SVN] r49252 - grass/trunk/lib/nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 15 06:12:26 EST 2011


Author: martinl
Date: 2011-11-15 03:12:26 -0800 (Tue, 15 Nov 2011)
New Revision: 49252

Modified:
   grass/trunk/lib/nviz/draw.c
Log:
nvizlib: define GL_CLAMP_TO_EDGE if not defined (requires opengl >= 1.2)

Modified: grass/trunk/lib/nviz/draw.c
===================================================================
--- grass/trunk/lib/nviz/draw.c	2011-11-14 23:25:50 UTC (rev 49251)
+++ grass/trunk/lib/nviz/draw.c	2011-11-15 11:12:26 UTC (rev 49252)
@@ -16,6 +16,10 @@
 
 #include <grass/nviz.h>
 
+#ifndef GL_CLAMP_TO_EDGE
+#define GL_CLAMP_TO_EDGE 0x812F
+#endif 
+
 static int sort_surfs_max(int *, int *, int *, int);
 
 /*!



More information about the grass-commit mailing list