evas drm engine - fix build if gl not enabled for drm engine build

this fixes the build after a derek b0rk :)
This commit is contained in:
Carsten Haitzler 2016-09-09 19:11:06 +09:00
parent 0b54436699
commit b07cc74107
1 changed files with 4 additions and 1 deletions

View File

@ -826,6 +826,7 @@ _ecore_evas_new_internal(const char *device, int x, int y, int w, int h, Eina_Bo
_drm_render_updates, ee);
tinfo = evas_engine_info_get(ee->evas);
#ifdef BUILD_ECORE_EVAS_GL_DRM
if (tinfo && gl)
{
char *num;
@ -849,7 +850,9 @@ _ecore_evas_new_internal(const char *device, int x, int y, int w, int h, Eina_Bo
goto eng_err;
}
}
else if (tinfo)
else
#endif
if (tinfo)
{
Evas_Engine_Info_Drm *einfo = tinfo;