X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=include%2FGL%2Ffreeglut_ext.h;h=7369f0f13ed48852d26730ef42713be4fbc32e1b;hb=9b943faa4f374b5a37b1bf6d544f826078cd361b;hp=0fa503599645c813ea5409eec7b26297dd44f52c;hpb=60fc701ac5ebd652058a209dac1486d4c5089662;p=freeglut diff --git a/include/GL/freeglut_ext.h b/include/GL/freeglut_ext.h index 0fa5035..7369f0f 100644 --- a/include/GL/freeglut_ext.h +++ b/include/GL/freeglut_ext.h @@ -40,13 +40,23 @@ #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 #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