From 5a1424361fdce826c6f5ae24022b7024cead770c Mon Sep 17 00:00:00 2001 From: raster Date: Mon, 15 Feb 2010 05:05:05 +0000 Subject: [PATCH] change gl engine api a little - fixed in ecore-evas and expedite. expose 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/engine_gl_x11.c b/src/bin/engine_gl_x11.c index 26feab7..311b769 100644 --- a/src/bin/engine_gl_x11.c +++ b/src/bin/engine_gl_x11.c @@ -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; -- 2.7.4