diff options
Diffstat (limited to 'src/modules/evas/engines/wayland_egl/evas_wl_main.c')
-rw-r--r-- | src/modules/evas/engines/wayland_egl/evas_wl_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_wl_main.c b/src/modules/evas/engines/wayland_egl/evas_wl_main.c index 95e59ce9e2..cad83434fc 100644 --- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c +++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c | |||
@@ -48,7 +48,7 @@ eng_window_new(Evas_Engine_Info_Wayland *einfo, int w, int h, Render_Output_Swap | |||
48 | 48 | ||
49 | wl_disp = ecore_wl2_display_get(gw->wl2_disp); | 49 | wl_disp = ecore_wl2_display_get(gw->wl2_disp); |
50 | const char *s = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS); | 50 | const char *s = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS); |
51 | if (strstr(s, "EXT_platform_base")) | 51 | if (s && strstr(s, "EXT_platform_base")) |
52 | { | 52 | { |
53 | EGLDisplay (*func) (EGLenum platform, void *native_display, const EGLint *attrib_list); | 53 | EGLDisplay (*func) (EGLenum platform, void *native_display, const EGLint *attrib_list); |
54 | func = (void *)eglGetProcAddress("eglGetPlatformDisplayEXT"); | 54 | func = (void *)eglGetProcAddress("eglGetPlatformDisplayEXT"); |