Minor formatting quibbles. (The brain isn't up to anything more serious
at the moment.) git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@294 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
2c356e1221
commit
30a7dfb0c4
@ -51,8 +51,8 @@
|
||||
void FGAPIENTRY glutDisplayFunc( void (* callback)( void ) )
|
||||
{
|
||||
if( !callback )
|
||||
fgError ("Fatal error in program. NULL display callback not "
|
||||
"permitted in GLUT 3.0+ or freeglut 2.0.1+\n");
|
||||
fgError( "Fatal error in program. NULL display callback not "
|
||||
"permitted in GLUT 3.0+ or freeglut 2.0.1+\n" );
|
||||
SET_CALLBACK( Display );
|
||||
fgStructure.Window->State.Redisplay = TRUE;
|
||||
}
|
||||
@ -102,9 +102,9 @@ void FGAPIENTRY glutTimerFunc( unsigned int timeOut, void (* callback)( int ),
|
||||
freeglut_assert_ready;
|
||||
|
||||
timer = (SFG_Timer *)calloc( sizeof(SFG_Timer), 1 );
|
||||
if (!timer)
|
||||
fgError ("Fatal error: "
|
||||
"Memory allocation failure in glutTimerFunc()\n");
|
||||
if( !timer )
|
||||
fgError( "Fatal error: "
|
||||
"Memory allocation failure in glutTimerFunc()\n" );
|
||||
|
||||
timer->Callback = callback;
|
||||
timer->ID = timerID;
|
||||
|
Reference in New Issue
Block a user