From b8f7e1673a291012d88709bc1f6021cc58066b63 Mon Sep 17 00:00:00 2001 From: raster Date: Wed, 6 Apr 2011 09:38:39 +0000 Subject: [PATCH] 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 --- src/modules/engines/gl_x11/evas_x_main.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.7.4