mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-09 04:48:15 +00:00
Corrected Android bug on Native Activity cycle
This commit is contained in:
@@ -1459,9 +1459,10 @@ static void PollInputEvents(void)
|
|||||||
// Check if we are exiting
|
// Check if we are exiting
|
||||||
if (app->destroyRequested != 0)
|
if (app->destroyRequested != 0)
|
||||||
{
|
{
|
||||||
TraceLog(INFO, "Closing Window...");
|
// NOTE: Never close window, native activity is controlled by the system!
|
||||||
//CloseWindow();
|
//TraceLog(INFO, "Closing Window...");
|
||||||
windowShouldClose = true;
|
//windowShouldClose = true;
|
||||||
|
|
||||||
//ANativeActivity_finish(app->activity);
|
//ANativeActivity_finish(app->activity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user