diff options
| author | raysan5 <raysan5@gmail.com> | 2014-11-23 21:58:45 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2014-11-23 21:58:45 +0100 |
| commit | fcff83e65cebb0c9767f076e8ccfaf6b6bfb8d95 (patch) | |
| tree | cd5368e64893d3a557df9ddd7c32c0720984069b /src | |
| parent | 7375d0460a8aaeadedf85c7d6313e2cc7d8ba9e9 (diff) | |
| download | raylib-fcff83e65cebb0c9767f076e8ccfaf6b6bfb8d95.tar.gz raylib-fcff83e65cebb0c9767f076e8ccfaf6b6bfb8d95.zip | |
Corrected Android bug on Native Activity cycle
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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); } } |
