summaryrefslogtreecommitdiff
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 1cf4e6c7f9..16cd6627bc 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -3949,9 +3949,8 @@ comp_gl_init(Comp *c)
3949 c->glsfc = evas_gl_surface_create(c->gl, c->glcfg, 1, 1); 3949 c->glsfc = evas_gl_surface_create(c->gl, c->glcfg, 1, 1);
3950 evas_gl_make_current(c->gl, c->glsfc, c->glctx); 3950 evas_gl_make_current(c->gl, c->glsfc, c->glctx);
3951 c->glapi = evas_gl_context_api_get(c->gl, c->glctx); 3951 c->glapi = evas_gl_context_api_get(c->gl, c->glctx);
3952 if (c->glapi->evasglBindWaylandDisplay) 3952 if ((!c->glapi->evasglBindWaylandDisplay) ||
3953 c->glapi->evasglBindWaylandDisplay(c->gl, c->display); 3953 (!c->glapi->evasglBindWaylandDisplay(c->gl, c->display)))
3954 else
3955 comp_gl_shutdown(c); 3954 comp_gl_shutdown(c);
3956} 3955}
3957 3956