mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 09:52:03 +01:00
cmd/ebitenmobile: add comments
This commit is contained in:
parent
2a4374e012
commit
a786f23e28
@ -96,8 +96,7 @@ class EbitenSurfaceView extends GLSurfaceView implements Renderer {
|
||||
setEGLContextClientVersion(3);
|
||||
setEGLConfigChooser(8, 8, 8, 8, 0, 0);
|
||||
setPreserveEGLContextOnPause(true);
|
||||
// setRenderer must be called before setRenderRequester.
|
||||
// Or, the application crashes.
|
||||
// setRenderer must be called before setRenderer. Or, setRenderMode in setExplicitRenderingMode will crash.
|
||||
setRenderer(new EbitenRenderer());
|
||||
|
||||
Ebitenmobileview.setRenderer(this);
|
||||
|
Loading…
Reference in New Issue
Block a user