diff options
| author | Micha White <botahamec@outlook.com> | 2022-10-20 20:16:42 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2022-10-20 20:16:42 -0400 |
| commit | e337741969160603f06a7f2b30cda375eeef99fb (patch) | |
| tree | 4835e542cf1b70df18d7c87055175b9367faaf2e /src/texture.rs | |
| parent | 94e148af2349ad15df127ee8e720dbbf24bc7587 (diff) | |
More profiling and error logging
Diffstat (limited to 'src/texture.rs')
| -rw-r--r-- | src/texture.rs | 4 |
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( |
