egl/x11: pass NULL instead of XCB_WINDOW_NONE as native_surface
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 4 Aug 2017 23:25:51 +0000 (00:25 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 10 Aug 2017 18:30:17 +0000 (19:30 +0100)
commit794df9acad9828f97aa27523e87eed2f3c808378
treef6e1b29d947e6d689b5707fc504cab5ddd024156
parent9c0dad0a2bc6fe84d1a30ffaf6a75fd6463f6ab6
egl/x11: pass NULL instead of XCB_WINDOW_NONE as native_surface

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/egl/drivers/dri2/platform_x11.c
src/egl/drivers/dri2/platform_x11_dri3.c