Parcourir la source

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 il y a 6 ans
Parent
commit
74afadaa3b
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  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)
 {