From a9a733c2f5f422f508a91054bba8274c8183a93c Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 1 Jun 2015 13:45:20 -0400 Subject: [PATCH] ecore-evas: Fix issue of gl_drm engine not being able to load Summary: The engine for OpenGL with drm is actually called "gl_drm". There was an issue where the engine_get function would return false because the #ifdef was testing the wrong thing. @fix Signed-off-by: Chris Michael --- src/lib/ecore_evas/ecore_evas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index 05f702e9a9..b8ab741d26 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -328,7 +328,7 @@ ecore_evas_engine_type_supported_get(Ecore_Evas_Engine_Type engine) return EINA_FALSE; #endif case ECORE_EVAS_ENGINE_OPENGL_DRM: -#ifdef BUILD_ECORE_EVAS_OPENGL_DRM +#ifdef BUILD_ECORE_EVAS_GL_DRM return EINA_TRUE; #else return EINA_FALSE; @@ -773,7 +773,7 @@ static const struct ecore_evas_engine _engines[] = { {"wayland_shm", _ecore_evas_constructor_wayland_shm}, {"wayland_egl", _ecore_evas_constructor_wayland_egl}, {"drm", _ecore_evas_constructor_drm}, - {"opengl_drm", _ecore_evas_constructor_opengl_drm}, + {"gl_drm", _ecore_evas_constructor_opengl_drm}, {"opengl_sdl", _ecore_evas_constructor_opengl_sdl}, {"sdl", _ecore_evas_constructor_sdl}, {"buffer", _ecore_evas_constructor_buffer},