glx: return GL_FALSE from glx_screen_init where applicable.
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 30 Sep 2016 10:01:27 +0000 (11:01 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 6 Oct 2016 14:03:47 +0000 (15:03 +0100)
commit2e9e05dfca18c7f09caa40396d6dd4f2b3ddc1d4
tree94ba46d4a060d88116db80bb2cdf33fdebbfd50c
parente542ed463dd5ae04e730901208344477afdc6a62
glx: return GL_FALSE from glx_screen_init where applicable.

Return GL_FALSE if we fail to find any fb/visual configs, otherwise we
end up with all sorts of chaos further down the GLX stack.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/glxext.c