Ejemplo n.º 1
0
 public static void ReloadTexture()
 {
     foreach (var kvp in GraphicsList)
     {
         foreach (var i in kvp.Value)
         {
             i.Dispose();
         }
     }
     GraphicsList.Clear();
     foreach (var p in loadingList)
     {
         var i = p.Value;
         LoadTextures(i.Texture, i.Size.Width, i.Size.Height);
     }
 }
Ejemplo n.º 2
0
 public override void Redo(GraphicsList list)
 {
     // Clear list - make DeleteAll again
     list.Clear();
 }
Ejemplo n.º 3
0
 public override void Redo(GraphicsList list)
 {
     // Clear list - make DeleteAll again
     list.Clear();
 }