egl_dri2: Return NULL when xcb_get_geometry_reply fails.
authorChia-I Wu <olv@lunarg.com>
Sun, 20 Feb 2011 19:23:54 +0000 (12:23 -0700)
committerChia-I Wu <olv@lunarg.com>
Sun, 20 Feb 2011 19:26:31 +0000 (12:26 -0700)
commitbf0c56522e21bd45ad3385e3115ef7eb71a7b8bf
tree65efdf1a3f341fe2f6ab42c7cae10d97762dfd22
parent91ea60395ef1fe046188b58753b2710301d07599
egl_dri2: Return NULL when xcb_get_geometry_reply fails.

This should fix bug #33946.
src/egl/drivers/dri2/platform_x11.c