egl/wayland: Return -1 from get_back_bo to indicate error
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 10 Dec 2013 00:13:35 +0000 (16:13 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 10 Dec 2013 00:14:33 +0000 (16:14 -0800)
commit4ed055b4a6c9e18c0bb9b6c66ef2d04b78a5dcff
treedac9c473054c1076e0d297dcd031b95d9921a5c1
parent0b7058c46abe615f4035633dd4eee417d1553c06
egl/wayland: Return -1 from get_back_bo to indicate error

A return value of -1 indicate failure to allocate the back buffer and
means we don't segfault on the way out.
src/egl/drivers/dri2/platform_wayland.c