From 72fb4bcb67b90c301b4210de4232067d774f9c26 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler 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. SVN revision: 46177 --- 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;