Implementing Larry Ramey's "glutExit" feature (see e-mails from him on 11/9/05, 6/28/06)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@724 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
9fffa516e3
commit
55c6100806
@ -83,6 +83,7 @@
|
|||||||
*/
|
*/
|
||||||
FGAPI void FGAPIENTRY glutMainLoopEvent( void );
|
FGAPI void FGAPIENTRY glutMainLoopEvent( void );
|
||||||
FGAPI void FGAPIENTRY glutLeaveMainLoop( void );
|
FGAPI void FGAPIENTRY glutLeaveMainLoop( void );
|
||||||
|
FGAPI void FGAPIENTRY glutExit ( void );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Window-specific callback functions, see freeglut_callbacks.c
|
* Window-specific callback functions, see freeglut_callbacks.c
|
||||||
|
@ -652,6 +652,14 @@ void FGAPIENTRY glutInit( int* pargc, char** argv )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Undoes all the "glutInit" stuff
|
||||||
|
*/
|
||||||
|
void FGAPIENTRY glutExit ( void )
|
||||||
|
{
|
||||||
|
fgDeinitialize ();
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets the default initial window position for new windows
|
* Sets the default initial window position for new windows
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user