Fixed a crash when GLES device is re-created

This commit is contained in:
Deve
2016-12-07 00:07:22 +01:00
parent 5fad8a135e
commit 66f57ada61

View File

@@ -341,7 +341,7 @@ namespace video
delete BridgeCalls;
#if defined(EGL_VERSION_1_0)
eglMakeCurrent(EGL_NO_DISPLAY, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
eglMakeCurrent(EglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
if (EglContext != EGL_NO_CONTEXT)
{