fix(renderer): deduplicate texture atlas creation

This commit is contained in:
lisk77 2025-11-17 17:32:21 +01:00
parent 9c5a471519
commit 4ed42b3de0

View file

@ -84,7 +84,6 @@ impl<'a> Renderer2D<'a> {
paths.push(texture_path.clone() + path.unwrap().file_name().to_str().unwrap()); paths.push(texture_path.clone() + path.unwrap().file_name().to_str().unwrap());
} }
self.resource_manager.create_texture_atlas(paths.clone());
self.init_atlas_by_paths(paths); self.init_atlas_by_paths(paths);
} }