forked from joejulian/gio
ebad5afdf3
The mapErr helper may map the error to nil, in which case the caller should continue, not exit. This change split up error mapping into mapErr which never maps to nil, and mapSurfaceErr which handles the VK_KHR_swapchain errors and may map to nil. Maybe fixes gio#287 Signed-off-by: Elias Naur <mail@eliasnaur.com>