and handle other make current to "no context" in case.

SVN revision: 58385
This commit is contained in:
Carsten Haitzler 2011-04-06 09:40:13 +00:00
parent dcdd502fd4
commit 4a982fb26e
1 changed files with 1 additions and 0 deletions

View File

@ -637,6 +637,7 @@ eng_window_unsurf(Evas_GL_X11_Window *gw)
eglDestroySurface(gw->egl_disp, gw->egl_surface[0]);
gw->egl_surface[0] = EGL_NO_SURFACE;
_evas_gl_x11_window = NULL;
evas_gl_common_context_use(NULL);
}
#else
if (gw->glxwin)