wl_drm: Fix creation of the ecore_evas_gl_drm

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-01-15 13:29:43 -05:00
parent d1e90c3af7
commit 63dc694f56
1 changed files with 2 additions and 2 deletions

View File

@ -76,8 +76,8 @@ e_modapi_init(E_Module *m)
if ((e_comp_gl_get()) &&
(e_comp_config_get()->engine == E_COMP_ENGINE_GL))
{
comp->ee == ecore_evas_gl_drm_new(NULL, 0, 0, 0, 1, 1);
if(!comp->ee)
comp->ee = ecore_evas_gl_drm_new(NULL, 0, 0, 0, 1, 1);
if (!comp->ee)
e_comp_gl_set(EINA_FALSE);
}