X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_window.c;h=277fe267e3382a1d1fc3bd2dfd51b99559b6aae8;hb=e9e66a952dc52f1bb204dc95b856a5246c2b7822;hp=811f329322e78d96ecafb8d5d40b5d08091a3952;hpb=2586d5c2ebd7cc9c788c8f68d2f2e8871f5438f5;p=freeglut diff --git a/src/freeglut_window.c b/src/freeglut_window.c index 811f329..277fe26 100644 --- a/src/freeglut_window.c +++ b/src/freeglut_window.c @@ -659,6 +659,12 @@ void fgCloseWindow( SFG_Window* window ) */ int FGAPIENTRY glutCreateWindow( const char* title ) { + /* XXX GLUT does not exit; it simply calls "glutInit" quietly if the + * XXX application has not already done so. The "freeglut" community + * XXX decided not to go this route (freeglut-developer e-mail from + * XXX Steve Baker, 12/16/04, 4:22 PM CST, "Re: [Freeglut-developer] + * XXX Desired 'freeglut' behaviour when there is no current window" + */ FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutCreateWindow" ); return fgCreateWindow( NULL, title, fgState.Position.X, fgState.Position.Y,