diff --git a/glut_wrap.h b/glut_wrap.h deleted file mode 100644 index b840af9..0000000 --- a/glut_wrap.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifdef HAVE_FREEGLUT - #include -#elif defined __APPLE__ - #include -#else - #include -#endif - -#ifndef GLAPIENTRY - #define GLAPIENTRY -#endif \ No newline at end of file diff --git a/glxgears.c b/glxgears.c index 2eaf818..503b63b 100644 --- a/glxgears.c +++ b/glxgears.c @@ -19,8 +19,17 @@ #include #include #include +#ifdef HAVE_FREEGLUT + #include +#elif defined __APPLE__ + #include +#else + #include +#endif -#include "glut_wrap.h" +#ifndef GLAPIENTRY + #define GLAPIENTRY +#endif static GLint T0 = 0; static GLint Frames = 0;