Corrected Android bug on Native Activity cycle

This commit is contained in:
raysan5 2014-11-23 21:58:45 +01:00
parent 7375d0460a
commit fcff83e65c

View File

@ -1459,9 +1459,10 @@ static void PollInputEvents(void)
// Check if we are exiting
if (app->destroyRequested != 0)
{
TraceLog(INFO, "Closing Window...");
//CloseWindow();
windowShouldClose = true;
// NOTE: Never close window, native activity is controlled by the system!
//TraceLog(INFO, "Closing Window...");
//windowShouldClose = true;
//ANativeActivity_finish(app->activity);
}
}