Implemented SDL_ACTIVEEVENT, did not test it and cannot say if it will work, also SDL 1.3 compilation is broken (use previous commit)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
fixed with a hammer and rasp to work with libSDL port */
|
||||
|
||||
// This string is autogenerated by ChangeAppSettings.sh, do not change spaces amount
|
||||
package de.schwardtnet.alienblaster;
|
||||
package com.googlecode.opentyrian;
|
||||
|
||||
import java.io.Writer;
|
||||
import java.util.ArrayList;
|
||||
@@ -950,6 +950,8 @@ public class GLSurfaceView_SDL extends SurfaceView implements SurfaceHolder.Call
|
||||
mRenderer.onSurfaceDestroyed();
|
||||
mEglHelper.finish();
|
||||
mNeedStart = true;
|
||||
if( Globals.NonBlockingSwapBuffers )
|
||||
return false;
|
||||
}
|
||||
while (needToWait()) {
|
||||
//Log.v("SDL", "GLSurfaceView_SDL::run(): paused");
|
||||
@@ -992,6 +994,8 @@ public class GLSurfaceView_SDL extends SurfaceView implements SurfaceHolder.Call
|
||||
mRenderer.onSurfaceDestroyed();
|
||||
mEglHelper.finish();
|
||||
mNeedStart = true;
|
||||
if( Globals.NonBlockingSwapBuffers )
|
||||
return false;
|
||||
}
|
||||
|
||||
} catch (java.lang.InterruptedException e) {
|
||||
|
||||
Reference in New Issue
Block a user