<div dir="ltr">Looks good to me !<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-08 16:02 GMT+02:00 Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">From: Manuel Bachmann <<a href="mailto:manuel.bachmann@open.eurogiciel.org">manuel.bachmann@open.eurogiciel.org</a>><br>
<br>
Some DRI drivers, including VMware vmwgfx, do not support<br>
calling eglQueryString() with a EGL_NO_DISPLAY parameter.<br>
Just as we do in gl_renderer_supports(), which returns 0<br>
but does not fail in this case, do not fail in<br>
gl_renderer_setup_egl_extensions().<br>
<br>
</span>Signed-off-by: Manuel Bachmann <<a href="mailto:manuel.bachmann@open.eurogiciel.org">manuel.bachmann@open.eurogiciel.org</a>><br>
[Pekka: split the patch]<br>
Signed-off-by: Pekka Paalanen <<a href="mailto:pekka.paalanen@collabora.co.uk">pekka.paalanen@collabora.co.uk</a>><br>
---<br>
src/gl-renderer.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/gl-renderer.c b/src/gl-renderer.c<br>
index b3b2364..5a2ed9f 100644<br>
<span class="">--- a/src/gl-renderer.c<br>
+++ b/src/gl-renderer.c<br>
@@ -2136,7 +2136,7 @@ gl_renderer_setup_egl_extensions(struct weston_compositor *ec)<br>
(const char *) eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);<br>
if (!extensions) {<br>
weston_log("Retrieving EGL client extension string failed.\n");<br>
- return -1;<br>
+ return 0;<br>
}<br>
<br>
</span> if (strstr(extensions, "EGL_EXT_platform_base"))<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.0.5<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><font>Regards,<br>
<br>
<i><b>Manuel BACHMANN</b><br>
Tizen Project<br>
VANNES-FR</i><br>
</font></div></div>
</div>