Set g_egl_quit to 0 at end of egl_destroy

This commit is contained in:
twinaphex 2015-11-19 15:49:49 +01:00
parent 2fe6686ced
commit ad311d3bb0
3 changed files with 1 additions and 2 deletions

View File

@ -108,6 +108,7 @@ void egl_destroy(void *data)
g_egl_surf = EGL_NO_SURFACE;
g_egl_dpy = EGL_NO_DISPLAY;
g_egl_config = 0;
g_egl_quit = 0;
}
void egl_bind_hw_render(void *data, bool enable)

View File

@ -48,7 +48,6 @@ static void gfx_ctx_mali_fbdev_destroy(void *data)
egl_destroy(data);
g_egl_quit = 0;
g_resize = false;
/* Clear framebuffer and set cursor on again */

View File

@ -36,7 +36,6 @@ static void gfx_ctx_vivante_destroy(void *data)
{
egl_destroy(data);
g_egl_quit = 0;
g_resize = false;
}