Do not call exit() when app put to background, we'll recreate GL textures from SDL (not done yet!)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user