Fixed non-GL applications crashing when GLX/EGL initialization fails on xcb.