DEADSOFTWARE

Android: no need to load nanogl
[d2df-sdl.git] / android / src / org / d2df / app / Doom2DF.java
index 614110270add01ed5a2464755993dca55259e793..fe9bc1531694ead501903c37ab48d8deb15a1136 100644 (file)
@@ -15,7 +15,6 @@ public class Doom2DF extends SDLActivity {
                        "mpg123",
                        "SDL2_mixer",
                        "enet",
-                       "nanoGL",
                        "Doom2DF"
                };
        }
@@ -33,4 +32,12 @@ public class Doom2DF extends SDLActivity {
                CopyAssets.copyAssets(SDL.getContext(), "instruments");
                CopyAssets.copyAssets(SDL.getContext(), "timidity.cfg");
        }
+
+       @Override
+       protected void onDestroy() {
+               super.onDestroy();
+
+               /* This will fix bug #31 and may be #32 */
+               System.exit(0);
+       }
 }