}
/*
- * Handle a window configuration change. When no reshape
- * callback is hooked, the viewport size is updated to
- * match the new window size.
+ * Request a window resize
*/
void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height )
{
*/
void fgPlatformSleepForEvents( long msec )
{
- /* fprintf(stderr, "fgPlatformSleepForEvents: STUB\n"); */
+ /* Android's NativeActivity relies on a Looper/ALooper object to
+ notify about events. The Looper object is plugged on two
+ internal pipe(2)s to detect system and input events. Sadly you
+ can only ask the Looper for an event, not just ask whether
+ there is a pending event (and process it later). Consequently,
+ short of redesigning NativeActivity, we cannot
+ SleepForEvents. */
}
/**