forked from enlightenment/efl
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>
This commit is contained in:
parent
97443242c2
commit
a9a733c2f5
|
@ -328,7 +328,7 @@ ecore_evas_engine_type_supported_get(Ecore_Evas_Engine_Type engine)
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
#endif
|
#endif
|
||||||
case ECORE_EVAS_ENGINE_OPENGL_DRM:
|
case ECORE_EVAS_ENGINE_OPENGL_DRM:
|
||||||
#ifdef BUILD_ECORE_EVAS_OPENGL_DRM
|
#ifdef BUILD_ECORE_EVAS_GL_DRM
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
#else
|
#else
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
@ -773,7 +773,7 @@ static const struct ecore_evas_engine _engines[] = {
|
||||||
{"wayland_shm", _ecore_evas_constructor_wayland_shm},
|
{"wayland_shm", _ecore_evas_constructor_wayland_shm},
|
||||||
{"wayland_egl", _ecore_evas_constructor_wayland_egl},
|
{"wayland_egl", _ecore_evas_constructor_wayland_egl},
|
||||||
{"drm", _ecore_evas_constructor_drm},
|
{"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},
|
{"opengl_sdl", _ecore_evas_constructor_opengl_sdl},
|
||||||
{"sdl", _ecore_evas_constructor_sdl},
|
{"sdl", _ecore_evas_constructor_sdl},
|
||||||
{"buffer", _ecore_evas_constructor_buffer},
|
{"buffer", _ecore_evas_constructor_buffer},
|
||||||
|
|
Loading…
Reference in New Issue