forked from organicmaps/organicmaps
Crash fix.
This commit is contained in:
parent
4b193c7bd6
commit
fa5c2a3eee
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ public abstract class NvEventQueueActivity extends MapsWithMeBaseActivity implem
|
|||
*/
|
||||
protected boolean CleanupEGL()
|
||||
{
|
||||
return mEglWrapper.TerminateEGL();
|
||||
return mEglWrapper != null && mEglWrapper.TerminateEGL();
|
||||
}
|
||||
|
||||
protected boolean CreateSurfaceEGL()
|
||||
|
|
Loading…
Add table
Reference in a new issue