From: Diederick Niehorster Date: Sat, 20 Apr 2013 14:04:21 +0000 (+0000) Subject: fgProcessWork, not fgPlatformProcessWork X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=42d3411391651bd30e99c9973470fd912cdf8b21;p=freeglut fgProcessWork, not fgPlatformProcessWork git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1618 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/android/fg_main_android.c b/src/android/fg_main_android.c index 77e43b3..7016755 100644 --- a/src/android/fg_main_android.c +++ b/src/android/fg_main_android.c @@ -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)) diff --git a/src/fg_main.c b/src/fg_main.c index 7190272..d17801c 100644 --- a/src/fg_main.c +++ b/src/fg_main.c @@ -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 */