[GRASS-SVN] r72988 - grass/trunk/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 14 11:23:40 PDT 2018


Author: hcho
Date: 2018-07-14 11:23:40 -0700 (Sat, 14 Jul 2018)
New Revision: 72988

Modified:
   grass/trunk/lib/ogsf/gsd_prim.c
Log:
ogsf: Fix compilation for Windows

Modified: grass/trunk/lib/ogsf/gsd_prim.c
===================================================================
--- grass/trunk/lib/ogsf/gsd_prim.c	2018-07-14 16:46:03 UTC (rev 72987)
+++ grass/trunk/lib/ogsf/gsd_prim.c	2018-07-14 18:23:40 UTC (rev 72988)
@@ -481,9 +481,7 @@
 #elif defined(OPENGL_AQUA)
     aglSwapBuffers(aglGetCurrentContext());
 #elif defined(OPENGL_WINDOWS)
-    /* TODO: Doesn't compile? Undefined reference to __imp_SwapBuffers
     SwapBuffers(wglGetCurrentDC());
-    */
 #endif
 
     return;



More information about the grass-commit mailing list