egl/wayland: group wl_win specific code together
authorEmil Velikov <emil.velikov@collabora.com>
Sun, 27 Aug 2017 10:20:34 +0000 (11:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 29 Aug 2017 12:43:04 +0000 (13:43 +0100)
commit293d64e96f22ade476378262a7582482a14edec1
treefdd3808f39ca721f913ecd0f3ae9ce4518cada07
parent10efd6fe7e914f5093054ff20cc6aebca2e54128
egl/wayland: group wl_win specific code together

Make the code a bit easier to follow. There should be no functional
change since none of the bits set are accessible until the
eglCreateWindowSurface call is complete.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/egl/drivers/dri2/platform_wayland.c