change gl engine api a little - fixed in ecore-evas and expedite. expose
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 15 Feb 2010 05:05:05 +0000 (05:05 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 15 Feb 2010 05:05:05 +0000 (05:05 +0000)
indirect option in ecore-evas with a new opt param for gl engines - will add
more opts over time.

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

src/bin/engine_gl_x11.c

index 26feab7..311b769 100644 (file)
@@ -40,9 +40,10 @@ engine_gl_x11_args(int argc, char **argv)
      }
 
    einfo->info.display = disp;
-   einfo->info.visual = einfo->func.best_visual_get(disp, DefaultScreen(disp));
-   einfo->info.colormap = einfo->func.best_colormap_get(disp, DefaultScreen(disp));
-   einfo->info.depth = einfo->func.best_depth_get(disp, DefaultScreen(disp));
+   einfo->info.screen = DefaultScreen(einfo->info.display);
+   einfo->info.visual = einfo->func.best_visual_get(einfo);
+   einfo->info.colormap = einfo->func.best_colormap_get(einfo);
+   einfo->info.depth = einfo->func.best_depth_get(einfo);
    attr.backing_store = NotUseful;
    attr.colormap = einfo->info.colormap;
    attr.border_pixel = 0;