from sungwoo <- fix gl context setup with evas_gl when working between
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 13 Jun 2011 06:03:00 +0000 (06:03 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 13 Jun 2011 06:03:00 +0000 (06:03 +0000)
windows.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@60257 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/gl_x11/evas_engine.c

index 7817b49..04426d4 100644 (file)
@@ -2536,6 +2536,8 @@ eng_gl_make_current(void *data, void *surface, void *context)
              evas_gl_common_context_flush(re->win->gl_context);
           }
 #endif   
+        eng_window_use(NULL);
+        evas_gl_common_context_use(NULL);
      }
 
    // Unset surface/context