else if(w!=size || h!=size)
throw incompatible_data("TextureCube::image");
PixelStore pstore = PixelStore::from_image(img);
BindRestore _bind_ps(pstore);
else if(w!=size || h!=size)
throw incompatible_data("TextureCube::image");
PixelStore pstore = PixelStore::from_image(img);
BindRestore _bind_ps(pstore);