fgProcessWork, not fgPlatformProcessWork
authorDiederick Niehorster <dcnieho@gmail.com>
Sat, 20 Apr 2013 14:04:21 +0000 (14:04 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Sat, 20 Apr 2013 14:04:21 +0000 (14:04 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1618 7f0cb862-5218-0410-a997-914c9d46530a

src/android/fg_main_android.c
src/fg_main.c

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