]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/RenderTexture.h
- remove the SG_GLxxxx_H #defines, since OSG provides its own versions
[simgear.git] / simgear / screen / RenderTexture.h
index 5d68a02c698d6b076fd506f646b4ead417b02f01..a1874fbc8aac90ffe37311e1e24eef7485f6b9e4 100644 (file)
  */
 #include <simgear/compiler.h>
 
-#if !defined( _WIN32 ) && !defined( __MACH__ )
-#  include <X11/Xlib.h>
-#endif
-#include SG_GL_H
-#if defined( __MACH__)
+#include <osg/GL>
+
+#if defined( __APPLE__)
 #  include <OpenGL/OpenGL.h>
 #endif
-#ifndef _WIN32
-#  include SG_GLX_H
+
+#if !defined( _WIN32 ) && !defined( __APPLE__ )
+#  include <X11/Xlib.h>
+#  include <GL/glx.h>
 #endif
 
 #include <string>