fix gles engine bug with > 1 window.. missing viewport transform

fixups on deletion of a window!



SVN revision: 58384
This commit is contained in:
Carsten Haitzler 2011-04-06 09:38:39 +00:00
parent fca2d9cf38
commit dcdd502fd4
1 changed files with 1 additions and 0 deletions

View File

@ -539,6 +539,7 @@ eng_window_free(Evas_GL_X11_Window *gw)
context = EGL_NO_CONTEXT;
}
eglMakeCurrent(gw->egl_disp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
evas_gl_common_context_use(NULL);
#else
if (gw->glxwin) glXDestroyWindow(gw->disp, gw->glxwin);
if (ref == 0)