* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#define GLX_GLXEXT_PROTOTYPES
-
#include <GL/freeglut.h>
#include "freeglut_internal.h"
-
struct name_address_pair
{
const char *name;
{ "glutStrokeString", (void *) glutStrokeString },
{ "glutWireRhombicDodecahedron", (void *) glutWireRhombicDodecahedron },
{ "glutSolidRhombicDodecahedron", (void *) glutSolidRhombicDodecahedron },
- { "glutWireSierpinskiSponge", (void *) glutWireSierpinskiSponge },
- { "glutSolidSierpinskiSponge", (void *) glutSolidSierpinskiSponge },
- { "glutWireCylinder", (void *) glutWireCylinder },
- { "glutSolidCylinder", (void *) glutSolidCylinder },
+ { "glutWireSierpinskiSponge ", (void *) glutWireSierpinskiSponge },
+ { "glutSolidSierpinskiSponge ", (void *) glutSolidSierpinskiSponge },
{ "glutGetProcAddress", (void *) glutGetProcAddress },
{ "glutMouseWheelFunc", (void *) glutMouseWheelFunc },
{ NULL, NULL }
{
/* Try GLUT functions first */
int i;
+ FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutGetProcAddress" );
for( i = 0; glut_functions[ i ].name; i++ )
if( strcmp( glut_functions[ i ].name, procName ) == 0)
return glut_functions[ i ].address;