From d6badc27c2f8382d0f4739429c0b625c551b826c Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Fri, 1 Aug 2008 02:21:38 +0000 Subject: [PATCH] Match Ecore_Evas engine enum changes. SVN revision: 35281 --- src/bin/e_canvas.c | 4 ++-- src/bin/e_config.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_canvas.c b/src/bin/e_canvas.c index ee4e4be..3046171 100644 --- a/src/bin/e_canvas.c +++ b/src/bin/e_canvas.c @@ -56,14 +56,14 @@ e_canvas_engine_decide(int engine) /* if engine is software-16 - do we support it? */ if (engine == E_EVAS_ENGINE_SOFTWARE_X11_16) { - if (!ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_SOFTWARE_16_X11)) + if (!ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_SOFTWARE_X11_16)) engine = E_EVAS_ENGINE_SOFTWARE_X11; } /* if engine is gl - do we support it? */ if (engine == E_EVAS_ENGINE_GL_X11) { /* if we dont - fall back to software x11 */ - if (!ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_OPENGL_X11)) + if (!ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_GL_X11)) engine = E_EVAS_ENGINE_SOFTWARE_X11; } /* support xrender? */ diff --git a/src/bin/e_config.c b/src/bin/e_config.c index 4489b8f..d85e4be 100644 --- a/src/bin/e_config.c +++ b/src/bin/e_config.c @@ -1801,7 +1801,7 @@ e_config_engine_list(void) #endif if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_XRENDER_X11)) l = evas_list_append(l, strdup("XRENDER")); - if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_SOFTWARE_16_X11)) + if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_SOFTWARE_X11_16)) l = evas_list_append(l, strdup("SOFTWARE_16")); return l; } -- 2.7.4