gl-renderer: check EGL_EXT_platform_base in supports()
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 8 Apr 2015 14:02:21 +0000 (17:02 +0300)
committerDaniel Stone <daniels@collabora.com>
Wed, 8 Apr 2015 15:41:04 +0000 (16:41 +0100)
commitf282454cf6cb9859876d148a83bf99450ce860d8
tree2d492a118010654506c015f79ac11693e1aa514c
parent2992d7192df639b0c9b04948de7feb50f36983bf
gl-renderer: check EGL_EXT_platform_base in supports()

An EGL implementation may support client extensions without supporting
EGL_EXT_platform_base. In such a case, we should return 0 to fall back
to the old eglGetDisplay() way.

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