From e9e66a952dc52f1bb204dc95b856a5246c2b7822 Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Wed, 4 May 2005 12:55:56 +0000 Subject: [PATCH] Adding a comment on why \"freeglut\" differs from GLUT in a particular way git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@594 7f0cb862-5218-0410-a997-914c9d46530a --- src/freeglut_window.c | 6 ++++++ 1 file changed, 6 insertions(+) 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, -- 1.7.10.4