]> git.mxchange.org Git - flightgear.git/blobdiff - tests/gl-info.c
latest changes for JSBSim (1.0 prerelease)
[flightgear.git] / tests / gl-info.c
index 8df65f1603ba8dba780d86ab4006dc108a50f65e..7d56fe81158d60ceab5a03c305f579bc45581275 100644 (file)
@@ -17,7 +17,16 @@ Date: Fri, 24 Apr 1998 07:33:51 -0800
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <GL/glut.h>
+
+#include <simgear/compiler.h>
+#if defined( __APPLE__)
+# include <OpenGL/OpenGL.h>
+# include <GLUT/glut.h>
+#else
+# include <GL/gl.h>
+# include <GL/glut.h>
+#endif
+
 
 void getPrints ( GLenum token, char *string )
 {
@@ -100,6 +109,8 @@ int main ( int argc, char **argv )
   getPrinti( GL_UNPACK_ROW_LENGTH  , "GL_UNPACK_ROW_LENGTH"   ) ;
   getPrinti( GL_UNPACK_SKIP_PIXELS  , "GL_UNPACK_SKIP_PIXELS"   ) ;
   getPrinti( GL_UNPACK_SKIP_ROWS  , "GL_UNPACK_SKIP_ROWS"   ) ;
+  getPrinti( GL_BLEND_SRC  , "GL_BLEND_SRC"   ) ;
+  getPrinti( GL_BLEND_DST  , "GL_BLEND_DST"   ) ;
 
   return 0 ;
 }