From: raster Date: Wed, 6 Apr 2011 09:38:39 +0000 (+0000) Subject: fix gles engine bug with > 1 window.. missing viewport transform X-Git-Tag: submit/trunk/20120815.174732~1745 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8f7e1673a291012d88709bc1f6021cc58066b63;p=profile%2Fivi%2Fevas.git fix gles engine bug with > 1 window.. missing viewport transform fixups on deletion of a window! git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58384 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 471321c..d743a2c 100644 --- a/src/modules/engines/gl_x11/evas_x_main.c +++ b/src/modules/engines/gl_x11/evas_x_main.c @@ -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)