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
07d29fa729
commit
7cc2f8ffcd
@ -115,6 +115,8 @@ class EbitenSurfaceView extends GLSurfaceView implements Renderer {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized void setExplicitRenderingMode(boolean explicitRendering) {
|
public synchronized void setExplicitRenderingMode(boolean explicitRendering) {
|
||||||
|
// TODO: Remove this logic when FPSModeVsyncOffMinimum is removed.
|
||||||
|
// This doesn't work when EbitenSurfaceView is recreated anyway.
|
||||||
if (explicitRendering) {
|
if (explicitRendering) {
|
||||||
setRenderMode(RENDERMODE_WHEN_DIRTY);
|
setRenderMode(RENDERMODE_WHEN_DIRTY);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user