Sfoglia il codice sorgente

ogsf: Comment out SwapBuffers for Windows; Getting an undefined reference error

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72986 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 6 anni fa
parent
commit
b1f5aaeaeb
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      lib/ogsf/gsd_prim.c

+ 2 - 0
lib/ogsf/gsd_prim.c

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