Fixing a bug which set the "ErrorFunc" field in the call to "glutInitWarningFunc"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@896 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
7e3e81f7f8
commit
b6e66727a9
@ -1162,7 +1162,7 @@ void FGAPIENTRY glutInitErrorFunc( void (* vfgError) ( const char *fmt, va_list
|
|||||||
void FGAPIENTRY glutInitWarningFunc( void (* vfgWarning) ( const char *fmt, va_list ap ) )
|
void FGAPIENTRY glutInitWarningFunc( void (* vfgWarning) ( const char *fmt, va_list ap ) )
|
||||||
{
|
{
|
||||||
/* This allows user programs to handle freeglut warnings */
|
/* This allows user programs to handle freeglut warnings */
|
||||||
fgState.ErrorFunc = vfgWarning;
|
fgState.WarningFunc = vfgWarning;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** END OF FILE ***/
|
/*** END OF FILE ***/
|
||||||
|
Reference in New Issue
Block a user