소스 검색

ogsf: Replace wingdi.h with windows.h

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72980 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 6 년 전
부모
커밋
74afadaa3b
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      lib/ogsf/gsd_prim.c

+ 4 - 1
lib/ogsf/gsd_prim.c

@@ -32,7 +32,9 @@
 #elif defined(OPENGL_WINDOWS)
 #include <GL/gl.h>
 #include <GL/glu.h>
-#include <wingdi.h>
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#undef WIN32_LEAN_AND_MEAN
 #endif
 
 #include <grass/gis.h>
@@ -460,6 +462,7 @@ void gsd_frontbuffer(void)
 
 /*!
    \brief Draw to the back buffer
+   \param bool non-zero for enable otherwise disable back buffer
  */
 void gsd_backbuffer(void)
 {