egl: Clean up native_type vs drawable mess
authorMatt Turner <mattst88@gmail.com>
Fri, 4 Aug 2017 23:25:50 +0000 (00:25 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 10 Aug 2017 18:29:37 +0000 (19:29 +0100)
commit9c0dad0a2bc6fe84d1a30ffaf6a75fd6463f6ab6
tree2861ab099da1d5bf96d9db094461d1be82b63e81
parentdf8efd5b74d45e2bfb977a92dcd3db86abd6b143
egl: Clean up native_type vs drawable mess

The next patch is going to stop passing XCB_WINDOW_NONE (of type
xcb_window_enum_t) as an argument where these functions expect a void *,
which clang does not appreciate.

This patch cleans things up to better convince me and reviewers that
it's safe to do that.

v2: Emil Velikov: rebase/integrate with series
Signed-off-by: Emil Velikov <emil.velikov@collabora.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