cogl-atlas-texture: Check for errors when creating the atlas texture
cogl-atlas-texture: Check for errors when creating the atlas texture

cogl_texture_2d_new may fail in certain circumstances so
cogl_atlas_texture_reserve_space should detect this and also
fail. This will cause cogl_texture_new to fallback to a sliced
texture.

Thanks to Vladimir Ivakin for reporting this problem.

collects/cogl,gcampax/cogl,djdeath/cogl-android,spatulasnout/cogl,Distrotech/cogl,djdeath/cogl,djdeath/cogl-android,djdeath/cogl-android,collects/cogl,gcampax/cogl,Distrotech/cogl,gcampax/cogl,spatulasnout/cogl,gcampax/cogl,djdeath/cogl,Distrotech/cogl,djdeath/cogl,Distrotech/cogl