#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
+# include <simgear_config.h>
#endif
#include "xgl.h"
-#include <GL/glut.h>
+
+#ifdef USING_GLUT
+#include GLUT_H
+#endif
#include <stdio.h>
#include <stdlib.h>
glViewport ( x, y, width, height ) ;
}
+#ifdef USING_GLUT
void xglutAddMenuEntry ( char* label, int value )
{
if ( xglTraceIsEnabled("glutAddMenuEntry") )
if ( xglExecuteIsEnabled("glutSwapBuffers") )
glutSwapBuffers () ;
}
+#endif
GLboolean xglAreTexturesResidentEXT ( GLsizei n, GLuint* textures, GLboolean* residences )
{