Pārlūkot izejas kodu

Merge remote-tracking branch 'Gordon-F/Gordon-F-delfix'

Lasse Öörni 9 gadi atpakaļ
vecāks
revīzija
4f1de66529
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Source/Tools/SpritePacker/SpritePacker.cpp

+ 1 - 1
Source/Tools/SpritePacker/SpritePacker.cpp

@@ -327,7 +327,7 @@ void Run(Vector<String>& arguments)
                 packedHeight = size.y_;
             }
         }
-        delete packerRects;
+        delete[] packerRects;
         if (!success)
             ErrorExit("Could not allocate for all images.  The max sprite sheet texture size is " + String(MAX_TEXTURE_SIZE) + "x" + String(MAX_TEXTURE_SIZE) + ".");
     }