]> 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 2f2d1cf918728bbc03d1a4d2d11bd177d5641fc9..2aa2e09f574adbc8a214fe5c52d629bfd3c724ef 100644 (file)
@@ -9,13 +9,20 @@
 
 #include <simgear/compiler.h>
 
-#include SG_GL_H
-#include <GL/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>
 
 #include <assert.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 void Reshape(int w, int h);