Browse Source

ogsf: Fix compilation for Windows

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72988 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 6 years ago
parent
commit
63f24212ce
1 changed files with 0 additions and 2 deletions
  1. 0 2
      lib/ogsf/gsd_prim.c

+ 0 - 2
lib/ogsf/gsd_prim.c

@@ -481,9 +481,7 @@ void gsd_swapbuffers(void)
 #elif defined(OPENGL_AQUA)
 #elif defined(OPENGL_AQUA)
     aglSwapBuffers(aglGetCurrentContext());
     aglSwapBuffers(aglGetCurrentContext());
 #elif defined(OPENGL_WINDOWS)
 #elif defined(OPENGL_WINDOWS)
-    /* TODO: Doesn't compile? Undefined reference to __imp_SwapBuffers
     SwapBuffers(wglGetCurrentDC());
     SwapBuffers(wglGetCurrentDC());
-    */
 #endif
 #endif
 
 
     return;
     return;