Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] preserve GLSurfaceView's EGL context on pause
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasPaczos committed Sep 26, 2018
1 parent 84082e2 commit 9db982f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public GLSurfaceViewMapRenderer(Context context,
glSurfaceView.setEGLConfigChooser(new EGLConfigChooser());
glSurfaceView.setRenderer(this);
glSurfaceView.setRenderMode(RENDERMODE_WHEN_DIRTY);
glSurfaceView.setPreserveEGLContextOnPause(true);
}

@Override
Expand Down

0 comments on commit 9db982f

Please sign in to comment.