mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix wrong alignment
This commit is contained in:
parent
e8003a44dd
commit
ea84cb138f
@ -119,7 +119,7 @@ impl<'a> GreedyMesh<'a> {
|
||||
let size = guillotiere::Size::new(32, 32).min(max_size);
|
||||
let atlas =
|
||||
guillotiere::SimpleAtlasAllocator::with_options(size, &guillotiere::AllocatorOptions {
|
||||
alignment: guillotiere::Size::default(),
|
||||
alignment: guillotiere::Size::new(1, 1),
|
||||
small_size_threshold,
|
||||
large_size_threshold,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user