Browse Source

clear map batch

Bastien Sevajol 3 years ago
parent
commit
d6c96cd7d6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main.rs

+ 1 - 0
src/main.rs View File

373
         )?;
373
         )?;
374
 
374
 
375
         self.sprite_sheet_batch.clear();
375
         self.sprite_sheet_batch.clear();
376
+        self.map_batch.clear();
376
         graphics::present(ctx)?;
377
         graphics::present(ctx)?;
377
 
378
 
378
         println!("FPS: {}", ggez::timer::fps(ctx));
379
         println!("FPS: {}", ggez::timer::fps(ctx));