summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-06-01 13:45:20 -0400
committerChris Michael <cp.michael@samsung.com>2015-06-01 14:06:21 -0400
commita9a733c2f5f422f508a91054bba8274c8183a93c (patch)
tree6452afc185c119eab8b2ba68a5d2962fb6757811
parent97443242c2e69fa2801833ea38857dd03bebf3d8 (diff)
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.michael@samsung.com>
-rw-r--r--src/lib/ecore_evas/ecore_evas.c4
1 files 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)
328 return EINA_FALSE; 328 return EINA_FALSE;
329#endif 329#endif
330 case ECORE_EVAS_ENGINE_OPENGL_DRM: 330 case ECORE_EVAS_ENGINE_OPENGL_DRM:
331#ifdef BUILD_ECORE_EVAS_OPENGL_DRM 331#ifdef BUILD_ECORE_EVAS_GL_DRM
332 return EINA_TRUE; 332 return EINA_TRUE;
333#else 333#else
334 return EINA_FALSE; 334 return EINA_FALSE;
@@ -773,7 +773,7 @@ static const struct ecore_evas_engine _engines[] = {
773 {"wayland_shm", _ecore_evas_constructor_wayland_shm}, 773 {"wayland_shm", _ecore_evas_constructor_wayland_shm},
774 {"wayland_egl", _ecore_evas_constructor_wayland_egl}, 774 {"wayland_egl", _ecore_evas_constructor_wayland_egl},
775 {"drm", _ecore_evas_constructor_drm}, 775 {"drm", _ecore_evas_constructor_drm},
776 {"opengl_drm", _ecore_evas_constructor_opengl_drm}, 776 {"gl_drm", _ecore_evas_constructor_opengl_drm},
777 {"opengl_sdl", _ecore_evas_constructor_opengl_sdl}, 777 {"opengl_sdl", _ecore_evas_constructor_opengl_sdl},
778 {"sdl", _ecore_evas_constructor_sdl}, 778 {"sdl", _ecore_evas_constructor_sdl},
779 {"buffer", _ecore_evas_constructor_buffer}, 779 {"buffer", _ecore_evas_constructor_buffer},