fgProcessWork, not fgPlatformProcessWork

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1618 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2013-04-20 14:04:21 +00:00
parent 6e7e3375a3
commit 59a8038d1c
2 changed files with 4 additions and 4 deletions

View File

@ -465,7 +465,7 @@ void fgPlatformProcessSingleEvent ( void )
* be not possible to ensure InitContext CB gets called before
* Resume CB like that.. so maybe just force calling initContext CB
* here is best. Or we could force work on the window in question..
* 1) save old work mask, 2) set mask to init only, 3) call fgPlatformProcessWork directly
* 1) save old work mask, 2) set mask to init only, 3) call fgProcessWork directly
* 4) set work mask back to the one saved in step 1.
*/
if (!FETCH_WCB(*window, InitContext))

View File

@ -54,7 +54,7 @@
# define MIN(a,b) (((a)<(b)) ? (a) : (b))
#endif
extern void fgPlatformProcessWork ( SFG_Window *window );
extern void fgProcessWork ( SFG_Window *window );
extern fg_time_t fgPlatformSystemTime ( void );
extern void fgPlatformSleepForEvents( fg_time_t msec );
extern void fgPlatformProcessSingleEvent ( void );
@ -163,7 +163,7 @@ static void fghcbProcessWork( SFG_Window *window,
SFG_Enumerator *enumerator )
{
if( window->State.WorkMask )
fgPlatformProcessWork ( window );
fgProcessWork ( window );
fgEnumSubWindows( window, fghcbProcessWork, enumerator );
}
@ -393,7 +393,7 @@ static void fghSleepForEvents( void )
/* Step through the work list */
void fgPlatformProcessWork(SFG_Window *window)
void fgProcessWork(SFG_Window *window)
{
unsigned int workMask = window->State.WorkMask;
/* Now clear it so that any callback generated by the actions below can set work again */