]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/GLBitmaps.cxx
Change SGPath::exists to use stat(), fix '.' and '..' handling on Windows, add simgea...
[simgear.git] / simgear / screen / GLBitmaps.cxx
index 7caba76d46287819ae165a6f395f0448f1f9ab04..30b6e12b1eabde076492c29e2b8c5f935233ba85 100755 (executable)
@@ -2,11 +2,7 @@
 #  include <simgear_config.h>
 #endif
 
-#if defined(__CYGWIN__)  /* && !defined(USING_X) */
-#define WIN32
-#endif
-
-#if defined(WIN32)  /* MINGW and MSC predefine WIN32 */
+#ifdef WIN32
 # include <windows.h>
 #endif
 
@@ -15,8 +11,6 @@
 #include <limits.h>
 #include <string.h>            // memcpy()
 
-#include <GL/gl.h>
-
 #include "GLBitmaps.h"
 
 GlBitmap::GlBitmap( GLenum mode, GLint width, GLint height, GLubyte *bitmap )