ebiten: remove RunOptions.StrictContextRestoration

Updates #3090
This commit is contained in:
Hajime Hoshi
2025-11-23 16:22:08 +09:00
parent 3d403f048f
commit f2ee34c8eb
7 changed files with 3 additions and 52 deletions
@@ -54,11 +54,6 @@ class EbitenSurfaceView extends GLSurfaceView implements Renderer {
@Override
public void onSurfaceCreated(GL10 gl, EGLConfig config) {
// As EbitenSurfaceView can be recreated anytime, this flag for strict context restoration must be checked every time.
if (Ebitenmobileview.usesStrictContextRestoration()) {
Ebitenmobileview.onContextLost();
return;
}
if (!onceSurfaceCreated_) {
onceSurfaceCreated_ = true;
return;