summaryrefslogtreecommitdiff
path: root/alligator_render/src/texture.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alligator_render/src/texture.rs')
-rw-r--r--alligator_render/src/texture.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alligator_render/src/texture.rs b/alligator_render/src/texture.rs
index 0afa0af..76e77a8 100644
--- a/alligator_render/src/texture.rs
+++ b/alligator_render/src/texture.rs
@@ -168,8 +168,8 @@ impl TextureAtlas {
}
/// Load a new subtexture from memory
- // TODO support RGBA16
pub fn load_texture(&mut self, id: TextureId) -> Result<TextureId, TextureError> {
+ self.changed = true;
let img = self.textures.load_texture(id)?;
self.packer.pack_own(id, img).map_err(PackError)?;
Ok(id)