Skip to content

Commit

Permalink
Request GLSurfaceView to preserve EGL context on pause
Browse files Browse the repository at this point in the history
  • Loading branch information
matteblair committed Jan 24, 2017
1 parent 468e9c8 commit 5b770c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ protected MapController(GLSurfaceView view) {
mapView = view;
view.setRenderer(this);
view.setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);
view.setPreserveEGLContextOnPause(true);

// Set a default HTTPHandler
httpHandler = new HttpHandler();
Expand Down

0 comments on commit 5b770c9

Please sign in to comment.