gles2: check eglBindWaylandDisplayWL return value
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 24 Oct 2012 06:43:06 +0000 (09:43 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 25 Oct 2012 18:58:59 +0000 (14:58 -0400)
commit035a0323ef0571b37d5949b10b79f7620f012617
treece36ccca54bd93baa7f971b6ead4f6234ea9db52
parent9c3fe25b4d2e7054687c561c2ca8054fa5eb9f95
gles2: check eglBindWaylandDisplayWL return value

If the bind fails, do not bother pretending the EGL Wayland extension
is usable, and no need to unbind, either.

Print some important details about the GLESv2 renderer configuration
into the log.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/gles2-renderer.c