and handle other make current to "no context" in case.
SVN revision: 58385
This commit is contained in:
parent
dcdd502fd4
commit
4a982fb26e
|
@ -637,6 +637,7 @@ eng_window_unsurf(Evas_GL_X11_Window *gw)
|
||||||
eglDestroySurface(gw->egl_disp, gw->egl_surface[0]);
|
eglDestroySurface(gw->egl_disp, gw->egl_surface[0]);
|
||||||
gw->egl_surface[0] = EGL_NO_SURFACE;
|
gw->egl_surface[0] = EGL_NO_SURFACE;
|
||||||
_evas_gl_x11_window = NULL;
|
_evas_gl_x11_window = NULL;
|
||||||
|
evas_gl_common_context_use(NULL);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (gw->glxwin)
|
if (gw->glxwin)
|
||||||
|
|
Loading…
Reference in New Issue