summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c4
1 files changed, 3 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 a843f26589..7669fee535 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -1136,7 +1136,9 @@ ecore_evas_drm_new_internal(const char *device, unsigned int parent EINA_UNUSED,
1136EAPI Ecore_Evas * 1136EAPI Ecore_Evas *
1137ecore_evas_gl_drm_new_internal(const char *device, unsigned int parent EINA_UNUSED, int x, int y, int w, int h) 1137ecore_evas_gl_drm_new_internal(const char *device, unsigned int parent EINA_UNUSED, int x, int y, int w, int h)
1138{ 1138{
1139 dlopen("libglapi.so.0", RTLD_LAZY | RTLD_GLOBAL); 1139 static void *libglapi = NULL;
1140
1141 if (!libglapi) libglapi = dlopen("libglapi.so.0", RTLD_LAZY | RTLD_GLOBAL);
1140 if (dlerror()) return NULL; 1142 if (dlerror()) return NULL;
1141 1143
1142 return _ecore_evas_new_internal(device, x, y, w, h, EINA_TRUE); 1144 return _ecore_evas_new_internal(device, x, y, w, h, EINA_TRUE);