From: devilhorns Date: Tue, 3 Jul 2012 07:31:03 +0000 (+0000) Subject: Evas (gl_x11): Merge changes from Tizen to upstream EFL. X-Git-Tag: 2.0_alpha~14^2^2~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24be3c2768d9d21d9ed3bd2693a29881bdf454c2;p=framework%2Fuifw%2Fevas.git Evas (gl_x11): Merge changes from Tizen to upstream EFL. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@73199 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/modules/engines/gl_x11/evas_x_main.c b/src/modules/engines/gl_x11/evas_x_main.c index bb02461..53c65ed 100644 --- a/src/modules/engines/gl_x11/evas_x_main.c +++ b/src/modules/engines/gl_x11/evas_x_main.c @@ -555,6 +555,7 @@ eng_window_free(Evas_GL_X11_Window *gw) eglTerminate(gw->egl_disp); context = EGL_NO_CONTEXT; } + eglMakeCurrent(gw->egl_disp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); #else if (gw->glxwin) glXDestroyWindow(gw->disp, gw->glxwin); if (ref == 0)