forked from enlightenment/efl
Evas (wayland_egl): Destroy the wl_egl_window also when we free.
SVN revision: 67075
This commit is contained in:
parent
e89e7d8ef5
commit
34ab2ff6cd
|
@ -205,6 +205,7 @@ eng_window_free(Evas_GL_Wl_Window *gw)
|
|||
win_count--;
|
||||
eng_window_use(gw);
|
||||
if (gw == _evas_gl_x11_window) _evas_gl_x11_window = NULL;
|
||||
if (gw->win) wl_egl_window_destroy(gw->win);
|
||||
if (gw->gl_context)
|
||||
{
|
||||
ref = gw->gl_context->references - 1;
|
||||
|
|
Loading…
Reference in New Issue