mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
e058bb6fd3
commit
df821f0177
1
run.go
1
run.go
@ -301,6 +301,7 @@ type RunGameOptions struct {
|
|||||||
// StrictContextRestration indicates whether the context lost should be restored strictly by Ebitengine or not.
|
// StrictContextRestration indicates whether the context lost should be restored strictly by Ebitengine or not.
|
||||||
//
|
//
|
||||||
// StrictContextRestration is available only on Android. Otherwise, StrictContextRestration is ignored.
|
// StrictContextRestration is available only on Android. Otherwise, StrictContextRestration is ignored.
|
||||||
|
// Thus, StrictContextRestration should be used with mobile.SetGameWithOptions, rather than RunGameWithOptions.
|
||||||
//
|
//
|
||||||
// In Android, Ebitengien uses `GLSurfaceView`'s `setPreserveEGLContextOnPause(true)`.
|
// In Android, Ebitengien uses `GLSurfaceView`'s `setPreserveEGLContextOnPause(true)`.
|
||||||
// This works in most cases, but it is still possible that the context is lost in some minor cases.
|
// This works in most cases, but it is still possible that the context is lost in some minor cases.
|
||||||
|
Loading…
Reference in New Issue
Block a user