]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/TestRenderTexture.cpp
- remove the SG_GLxxxx_H #defines, since OSG provides its own versions
[simgear.git] / simgear / screen / TestRenderTexture.cpp
index 2c7fc236d2022680fc90781a615bcd0e75f26b96..2aa2e09f574adbc8a214fe5c52d629bfd3c724ef 100644 (file)
@@ -9,8 +9,14 @@
 
 #include <simgear/compiler.h>
 
-#include SG_GL_H
-#include SG_GLUT_H
+#include <osg/GL>
+
+#ifdef __APPLE__
+#  include <GLUT/glut.h>
+#else
+#  include <GL/glut.h>
+#endif
+
 #include <simgear/screen/extensions.hxx>
 #include <simgear/screen/RenderTexture.h>