mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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);
|
setEGLContextClientVersion(3);
|
||||||
setEGLConfigChooser(8, 8, 8, 8, 0, 0);
|
setEGLConfigChooser(8, 8, 8, 8, 0, 0);
|
||||||
setPreserveEGLContextOnPause(true);
|
setPreserveEGLContextOnPause(true);
|
||||||
// setRenderer must be called before setRenderRequester.
|
// setRenderer must be called before setRenderer. Or, setRenderMode in setExplicitRenderingMode will crash.
|
||||||
// Or, the application crashes.
|
|
||||||
setRenderer(new EbitenRenderer());
|
setRenderer(new EbitenRenderer());
|
||||||
|
|
||||||
Ebitenmobileview.setRenderer(this);
|
Ebitenmobileview.setRenderer(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user