gl-renderer: fix EGL initialization steps
authorManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Wed, 8 Apr 2015 14:02:20 +0000 (17:02 +0300)
committerDaniel Stone <daniels@collabora.com>
Wed, 8 Apr 2015 15:40:54 +0000 (16:40 +0100)
commit2992d7192df639b0c9b04948de7feb50f36983bf
tree2a1671e8a69b2ccb9fbdf6da2d54df998f8a0b9c
parentb4deec6490cea7bb20abe91f0d3aca0cad8a64ae
gl-renderer: fix EGL initialization steps

Some DRI drivers, including VMware vmwgfx, do not support
calling eglQueryString() with a EGL_NO_DISPLAY parameter.
Just as we do in gl_renderer_supports(), which returns 0
but does not fail in this case, do not fail in
gl_renderer_setup_egl_extensions().

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
[Pekka: split the patch]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/gl-renderer.c