#elif FREEGLUT_GLES1
# include <EGL/egl.h>
# include <GLES/gl.h>
+#elif __APPLE__
+# include <OpenGL/gl.h>
+# include <OpenGL/glu.h>
#else
# include <GL/gl.h>
# include <GL/glu.h>
* Teapot rendering functions, found in freeglut_teapot.c
* NB: front facing polygons have clockwise winding, not counter clockwise
*/
-/* TODO: doesn't work with GLES1 yet */
-#ifndef EGL_VERSION_1_0
-FGAPI void FGAPIENTRY glutWireTeapot( GLdouble size );
-FGAPI void FGAPIENTRY glutSolidTeapot( GLdouble size );
-#endif
+FGAPI void FGAPIENTRY glutWireTeapot( double size );
+FGAPI void FGAPIENTRY glutSolidTeapot( double size );
/*
* Game mode functions, see freeglut_gamemode.c