Adding a comment on why \"freeglut\" differs from GLUT in a particular way

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@594 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2005-05-04 12:55:56 +00:00
parent 3f4250d748
commit 7198d2443f

View File

@ -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,