egl: setup screen iterator before using it
authorTapani Pälli <tapani.palli@intel.com>
Mon, 29 Sep 2014 12:02:57 +0000 (15:02 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 29 Sep 2014 12:12:11 +0000 (15:12 +0300)
commit3386e95994ec77248f71dedf49f996e2078f8cea
tree4dff0ba0f9d2001900ba2aef18f446dc1ef8b2d1
parent8c7c0f7114ab27eb4b9448655a93e4ebf33effcf
egl: setup screen iterator before using it

commit 4ed23fd broke creation of pbuffer surfaces, patch fixes
the failure, noticed when running chrome with '--use-gl=egl'.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
src/egl/drivers/dri2/platform_x11.c