Less lag for audio, fixed high CPU usage in background mode

This commit is contained in:
pelya
2010-11-23 20:48:36 +02:00
parent 4bc5978d78
commit 34c99e1f07
4 changed files with 21 additions and 7 deletions

View File

@@ -300,6 +300,10 @@ class DemoGLSurfaceView extends GLSurfaceView_SDL {
super.onPause();
mRenderer.mPaused = true;
};
public boolean isPaused() {
return mRenderer.mPaused;
}
@Override
public void onResume() {