anv/x11: Split image creation into a helper function
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 11 Mar 2016 20:28:32 +0000 (12:28 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 11 Mar 2016 20:28:34 +0000 (12:28 -0800)
commite920b184e9a0cd3864b1db95921ef5d8b2227c6a
treec68e845af317b87008ab5d36fd2a924d6bdcd446
parent41a147904a95ba699358e8209e91d535f853ba61
anv/x11: Split image creation into a helper function

This lets us clean up error handling and make it correct.
src/intel/vulkan/anv_wsi_x11.c