diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java b/src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java index b415a0a..98a07e6 100644 --- a/src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java +++ b/src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java @@ -735,7 +735,11 @@ public class PhotoPhaseRenderer implements GLSurfaceView.Renderer { } } } - } else if (mIsPaused) { + } else { + if (mWorld != null) { + // Just draw the world before notify GLView to goto sleep + mWorld.draw(mMVPMatrix); + } mDispatcher.setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY); } |