summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2022-10-13 09:39:05 -0400
committerMicha White <botahamec@outlook.com>2022-10-13 09:39:05 -0400
commit5d5525ce9201d1a6388260285268baff6019be93 (patch)
tree60e69c99282fce114d37cc0a1eb7ac692bbc3632 /src
parent630a917c245844a0b56bbefad9902cdcd87103ad (diff)
Better example + bug fixes
Diffstat (limited to 'src')
-rw-r--r--src/texture.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/texture.rs b/src/texture.rs
index da69c77..ac2dd63 100644
--- a/src/texture.rs
+++ b/src/texture.rs
@@ -157,6 +157,9 @@ impl TextureAtlas {
packer: TexturePacker::new_skyline(TexturePackerConfig {
max_width: width,
max_height: height,
+ allow_rotation: false,
+ trim: false,
+ texture_padding: 0,
..Default::default()
}),
diffuse_texture,