X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=include%2FGL%2Ffreeglut_std.h;h=b24fcedc9a91566b60f6481fa0419c426f3598e4;hb=71b402b58a952aeec8d902edeec8954464f10323;hp=fc0cb80c31c224df10a34d3dec1f4cdd8e447d45;hpb=18bf83a00e2af9d24ee171b70ec345b70fc661f0;p=freeglut diff --git a/include/GL/freeglut_std.h b/include/GL/freeglut_std.h index fc0cb80..b24fced 100644 --- a/include/GL/freeglut_std.h +++ b/include/GL/freeglut_std.h @@ -129,15 +129,13 @@ /* * Always include OpenGL and GLU headers */ -/* Note: FREEGLUT_GLES1 and FREEGLUT_GLES2 are only used to cleanly - bootstrap headers inclusion here; use GLES constants directly +/* Note: FREEGLUT_GLES is only used to cleanly bootstrap headers + inclusion here; use GLES constants directly (e.g. GL_ES_VERSION_2_0) for all other needs */ -#ifdef FREEGLUT_GLES2 -# include -# include -#elif FREEGLUT_GLES1 +#ifdef FREEGLUT_GLES # include # include +# include #elif __APPLE__ # include # include @@ -559,10 +557,8 @@ FGAPI void FGAPIENTRY glutSolidIcosahedron( void ); * Teapot rendering functions, found in freeglut_teapot.c * NB: front facing polygons have clockwise winding, not counter clockwise */ -#ifndef EGL_VERSION_1_0 FGAPI void FGAPIENTRY glutWireTeapot( double size ); FGAPI void FGAPIENTRY glutSolidTeapot( double size ); -#endif /* * Game mode functions, see freeglut_gamemode.c