X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=include%2FGL%2Ffreeglut_std.h;h=8bcfbd4470bbe5775a286a423b8c8766cc227e0e;hb=aa2b6e6509639152662dce4ea66bc16c4ca9fd9f;hp=799987e8df96c0974c95dea0656f95401a74ea21;hpb=223d39f2318e1724283c50c346843199c81d2e7c;p=freeglut diff --git a/include/GL/freeglut_std.h b/include/GL/freeglut_std.h index 799987e..8bcfbd4 100644 --- a/include/GL/freeglut_std.h +++ b/include/GL/freeglut_std.h @@ -526,7 +526,7 @@ FGAPI int FGAPIENTRY glutStrokeLength( void* font, const unsigned char* stri */ #ifdef EGL_VERSION_1_0 /* TODO: temporary work-around for missing GLdouble in GLES */ -# define GLdouble GLfloat +# define GLdouble GLfloat #endif FGAPI void FGAPIENTRY glutWireCube( GLdouble size ); @@ -553,6 +553,11 @@ FGAPI void FGAPIENTRY glutSolidIcosahedron( void ); FGAPI void FGAPIENTRY glutWireTeapot( GLdouble size ); FGAPI void FGAPIENTRY glutSolidTeapot( GLdouble size ); +#ifdef EGL_VERSION_1_0 +/* TODO: temporary work-around for missing GLdouble in GLES */ +# undef GLdouble +#endif + /* * Game mode functions, see freeglut_gamemode.c */