[Mesa-dev] [PATCH 1/6] egl/x11: bail out if we cannot fetch the xcb connection

Eric Anholt eric at anholt.net
Tue Aug 4 19:47:14 PDT 2015


Emil Velikov <emil.l.velikov at gmail.com> writes:

> Strictly speaking the xcb_connection_has_error() might be sufficient,
> yet the documentation does not mention what will happen if NULL is fed
> to the function.
>
> Keep things explicit, which will allow us to remove the dri2_dpy->conn
> checking with the next commit.
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

Other than Matt's minor comments, this series is:

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150804/7873ab61/attachment.sig>


More information about the mesa-dev mailing list