make it an env var to enable/disable window unsurface/resurfacing.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 30 Aug 2010 06:46:29 +0000 (06:46 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 30 Aug 2010 06:46:29 +0000 (06:46 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/gl_x11/evas_x_main.c

index 655a46e..8728973 100644 (file)
@@ -493,6 +493,7 @@ void
 eng_window_unsurf(Evas_GL_X11_Window *gw)
 {
    if (!gw->surf) return;
+   if (!getenv("EVAS_GL_WIN_RESURF")) return;
    if (getenv("EVAS_GL_INFO"))
       printf("unsurf %p\n", gw);
 #if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)