Parcourir la source

clear map batch

Bastien Sevajol il y a 4 ans
Parent
révision
d6c96cd7d6
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/main.rs

+ 1 - 0
src/main.rs Voir le fichier

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));