Match Ecore_Evas engine enum changes.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Fri, 1 Aug 2008 02:21:38 +0000 (02:21 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Fri, 1 Aug 2008 02:21:38 +0000 (02:21 +0000)
SVN revision: 35281

src/bin/e_canvas.c
src/bin/e_config.c

index ee4e4be..3046171 100644 (file)
@@ -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? */
index 4489b8f..d85e4be 100644 (file)
@@ -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;
 }