Do not call exit() when app put to background, we'll recreate GL textures from SDL (not done yet!)

This commit is contained in:
pelya
2010-09-28 17:37:24 +03:00
parent 73dcf3e75e
commit f1d23b2cf1
14 changed files with 80 additions and 75 deletions

View File

@@ -1,5 +1,5 @@
// This string is autogenerated by ChangeAppSettings.sh, do not change spaces amount
package com.sourceforge.sc2;
package com.googlecode.opentyrian;
import android.app.Activity;
import android.content.Context;
@@ -59,10 +59,9 @@ public class MainActivity extends Activity {
downloader.setParent(null, null);
}
}
super.onPause();
if( mGLView != null )
mGLView.onPause();
super.onPause();
}
@Override