cmd/ebitenmobile: add comments

This commit is contained in:
Hajime Hoshi 2024-09-09 17:41:17 +09:00
parent 07d29fa729
commit 7cc2f8ffcd

View File

@ -115,6 +115,8 @@ class EbitenSurfaceView extends GLSurfaceView implements Renderer {
@Override
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) {
setRenderMode(RENDERMODE_WHEN_DIRTY);
} else {