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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 14 04:39:33 PDT 2018


Author: hcho
Date: 2018-07-14 04:39:32 -0700 (Sat, 14 Jul 2018)
New Revision: 72986

Modified:
   grass/trunk/lib/ogsf/gsd_prim.c
Log:
ogsf: Comment out SwapBuffers for Windows; Getting an undefined reference error

Modified: grass/trunk/lib/ogsf/gsd_prim.c
===================================================================
--- grass/trunk/lib/ogsf/gsd_prim.c	2018-07-13 13:31:57 UTC (rev 72985)
+++ grass/trunk/lib/ogsf/gsd_prim.c	2018-07-14 11:39:32 UTC (rev 72986)
@@ -483,7 +483,9 @@
 #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