mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 22:38:34 +00:00
Set g_egl_inited to false after egl_destroy
This commit is contained in:
parent
efa673c7b0
commit
b69caea6c1
@ -112,6 +112,7 @@ void egl_destroy(void *data)
|
||||
g_egl_config = 0;
|
||||
g_egl_quit = 0;
|
||||
g_egl_api = GFX_CTX_NONE;
|
||||
g_egl_inited = false;
|
||||
}
|
||||
|
||||
void egl_bind_hw_render(void *data, bool enable)
|
||||
|
@ -191,8 +191,6 @@ static bool gfx_ctx_emscripten_bind_api(void *data,
|
||||
static void gfx_ctx_emscripten_destroy(void *data)
|
||||
{
|
||||
egl_destroy(data);
|
||||
|
||||
g_egl_inited = false;
|
||||
}
|
||||
|
||||
static void gfx_ctx_emscripten_input_driver(void *data,
|
||||
|
@ -79,7 +79,6 @@ static void gfx_ctx_xegl_destroy(void *data)
|
||||
/* Do not close g_x11_dpy. We'll keep one for the entire application
|
||||
* lifecycle to work-around nVidia EGL limitations.
|
||||
*/
|
||||
g_egl_inited = false;
|
||||
}
|
||||
|
||||
static void gfx_ctx_xegl_set_resize(void *data,
|
||||
|
Loading…
Reference in New Issue
Block a user