summaryrefslogtreecommitdiff
path: root/src/texture.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/texture.rs')
-rw-r--r--src/texture.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/texture.rs b/src/texture.rs
index 293a202..e343508 100644
--- a/src/texture.rs
+++ b/src/texture.rs
@@ -261,7 +261,9 @@ impl TextureAtlas {
let atlas_size = extent_3d(self.width, self.height);
// put the packed texture into the base image
- drop(self.fill_image());
+ if let Err(e) = self.fill_image() {
+ log::error!("{}", e);
+ }
// copy that to the gpu
queue.write_texture(