-/* $Id: tessdemo.c,v 1.10 2001/03/21 02:44:36 gareth Exp $ */
+/* $Id: tessdemo.c,v 1.11 2001/03/21 02:47:32 gareth Exp $ */
/*
* A demo of the GLU polygon tesselation functions written by Bogdan Sikorski.
set_screen_wh( w, h );
}
+#endif
+
static void usage( void )
{
printf( "Select tesselate from the pop-up menu.\n" );
}
-#endif
-
int main( int argc, char **argv )
{
glutInitWindowSize( 400, 400 );
glutCreateWindow( argv[0] );
+ /* GH: Bit of a hack...
+ */
+#ifdef GLU_VERSION_1_2
myinit();
glutDisplayFunc( display );
glutReshapeFunc( reshape );
glutMainLoop();
+#endif
return 0;
}