from sungwoo <- fix gl context setup with evas_gl when working between
authorCarsten Haitzler <raster@rasterman.com>
Mon, 13 Jun 2011 06:03:00 +0000 (06:03 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Mon, 13 Jun 2011 06:03:00 +0000 (06:03 +0000)
windows.

SVN revision: 60257

legacy/evas/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