devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a9a733c2f5f422f508a91054bba8274c8183a93c

commit a9a733c2f5f422f508a91054bba8274c8183a93c
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Jun 1 13:45:20 2015 -0400

    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 <cp.mich...@samsung.com>
---
 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 05f702e..b8ab741 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},

-- 


Reply via email to