projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8052b90
)
efl-wl: handle case where eglBindWaylandDisplay fails
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 11 Aug 2017 22:43:15 +0000
(18:43 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 11 Aug 2017 22:43:13 +0000
(18:43 -0400)
@fix
src/lib/efl_wl/efl_wl.c
patch
|
blob
|
history
diff --git
a/src/lib/efl_wl/efl_wl.c
b/src/lib/efl_wl/efl_wl.c
index
1cf4e6c
..
16cd662
100644
(file)
--- 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)
c->glsfc = evas_gl_surface_create(c->gl, c->glcfg, 1, 1);
evas_gl_make_current(c->gl, c->glsfc, c->glctx);
c->glapi = evas_gl_context_api_get(c->gl, c->glctx);
- if (c->glapi->evasglBindWaylandDisplay)
- c->glapi->evasglBindWaylandDisplay(c->gl, c->display);
- else
+ if ((!c->glapi->evasglBindWaylandDisplay) ||
+ (!c->glapi->evasglBindWaylandDisplay(c->gl, c->display)))
comp_gl_shutdown(c);
}