diff --git a/src/batcher.rs b/src/batcher.rs index 441cc0c..b0718ca 100644 --- a/src/batcher.rs +++ b/src/batcher.rs @@ -42,7 +42,7 @@ impl BatchBuilder { return Some(slot); } - if self.textures.len() as u32 > max_slots { + if self.textures.len() as u32 >= max_slots { return None; }