summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-09-09 19:11:06 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-09-09 19:21:53 +0900
commitb07cc74107bd45afeb85ed81b3b098bf90985de0 (patch)
tree667093f59f01efee3d1abeab6116ca682bce4718 /src/modules/ecore_evas/engines/drm
parent0b54436699c0066697d393dea611df8535c1c2ef (diff)
evas drm engine - fix build if gl not enabled for drm engine build
this fixes the build after a derek b0rk :)
Diffstat (limited to 'src/modules/ecore_evas/engines/drm')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index d8709d6853..ba97f5de99 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -826,6 +826,7 @@ _ecore_evas_new_internal(const char *device, int x, int y, int w, int h, Eina_Bo
826 _drm_render_updates, ee); 826 _drm_render_updates, ee);
827 827
828 tinfo = evas_engine_info_get(ee->evas); 828 tinfo = evas_engine_info_get(ee->evas);
829#ifdef BUILD_ECORE_EVAS_GL_DRM
829 if (tinfo && gl) 830 if (tinfo && gl)
830 { 831 {
831 char *num; 832 char *num;
@@ -849,7 +850,9 @@ _ecore_evas_new_internal(const char *device, int x, int y, int w, int h, Eina_Bo
849 goto eng_err; 850 goto eng_err;
850 } 851 }
851 } 852 }
852 else if (tinfo) 853 else
854#endif
855 if (tinfo)
853 { 856 {
854 Evas_Engine_Info_Drm *einfo = tinfo; 857 Evas_Engine_Info_Drm *einfo = tinfo;
855 858