* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#define FREEGLUT_BUILDING_LIB
#include <GL/freeglut.h>
#include "freeglut_internal.h"
return fgCreateMenu( callback )->ID;
}
+int FGAPIENTRY __glutCreateMenuWithExit( void(* callback)( int ), void (__cdecl *exitfunc)(int) )
+{
+ __glutExitFunc = exitfunc;
+ return glutCreateMenu( callback );
+}
+
/*
* Destroys a menu object, removing all references to it
*/