浏览代码

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 年之前
父节点
当前提交
b1f5aaeaeb
共有 1 个文件被更改,包括 2 次插入0 次删除
  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;