X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=include%2FGL%2Ffreeglut_ext.h;h=7369f0f13ed48852d26730ef42713be4fbc32e1b;hb=9b943faa4f374b5a37b1bf6d544f826078cd361b;hp=e5466ed10ecd4ab432c9a9e9d18d5736ed2d68d1;hpb=bec227f153f60b8a314bd7defddd5e549b72bfa0;p=freeglut diff --git a/include/GL/freeglut_ext.h b/include/GL/freeglut_ext.h index e5466ed..7369f0f 100644 --- a/include/GL/freeglut_ext.h +++ b/include/GL/freeglut_ext.h @@ -40,6 +40,12 @@ #define GLUT_ACTION_CONTINUE_EXECUTION 2 /* + * Create a new rendering context when the user opens a new window? + */ +#define GLUT_CREATE_NEW_CONTEXT 0 +#define GLUT_USE_CURRENT_CONTEXT 1 + +/* * GLUT API Extension macro definitions -- the glutGet parameters */ #define GLUT_ACTION_ON_WINDOW_CLOSE 0x01F9 @@ -47,6 +53,10 @@ #define GLUT_WINDOW_BORDER_WIDTH 0x01FA #define GLUT_WINDOW_HEADER_HEIGHT 0x01FB +#define GLUT_VERSION 0x01FC + +#define GLUT_RENDERING_CONTEXT 0x01FD + /* * Process loop function, see freeglut_main.c */ @@ -84,8 +94,8 @@ FGAPI void FGAPIENTRY glutStrokeString( void* font, const char *string ); */ FGAPI void FGAPIENTRY glutWireRhombicDodecahedron( void ); FGAPI void FGAPIENTRY glutSolidRhombicDodecahedron( void ); -FGAPI void FGAPIENTRY glutWireSierpinskiSponge ( int num_levels, GLfloat offset[3], GLfloat scale ) ; -FGAPI void FGAPIENTRY glutSolidSierpinskiSponge ( int num_levels, GLfloat offset[3], GLfloat scale ) ; +FGAPI void FGAPIENTRY glutWireSierpinskiSponge ( int num_levels, GLdouble offset[3], GLdouble scale ) ; +FGAPI void FGAPIENTRY glutSolidSierpinskiSponge ( int num_levels, GLdouble offset[3], GLdouble scale ) ; /* * Extension functions, see freeglut_ext.c