egl/wayland: Simplify dri2_wl_create_surface
authorAxel Davy <axel.davy@ens.fr>
Fri, 1 May 2015 09:16:41 +0000 (11:16 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 11 May 2015 17:31:44 +0000 (19:31 +0200)
commitcd25e52f6bb5279cd7b1992e5907df3966b900ce
treea0e70a8ea5be029453033828bea268e7d4d7e455
parentf1cc478d89986c87f01fdaae510335965e19493c
egl/wayland: Simplify dri2_wl_create_surface

This function is always used with EGL_WINDOW_BIT. Pixmaps are forbidden
for Wayland, and PBuffers are unimplemented.

Reviewed-by: Daniel Stone <daniels@collabora.com>.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/egl/drivers/dri2/platform_wayland.c