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 7, 2018
1 parent 7017ac5 commit 80ef0e0
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 80ef0e0

Please sign in to comment.