summarylogtreecommitdiffstats
path: root/CCFastTMXLayer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'CCFastTMXLayer.patch')
-rw-r--r--CCFastTMXLayer.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/CCFastTMXLayer.patch b/CCFastTMXLayer.patch
new file mode 100644
index 000000000000..5a37a64317c2
--- /dev/null
+++ b/CCFastTMXLayer.patch
@@ -0,0 +1,9 @@
+@@ -130,7 +130,7 @@ TMXLayer::~TMXLayer()
+ {
+ CC_SAFE_RELEASE(_tileSet);
+ CC_SAFE_RELEASE(_texture);
+- CC_SAFE_DELETE_ARRAY(_tiles);
++ CC_SAFE_FREE(_tiles);
+ CC_SAFE_RELEASE(_vData);
+ CC_SAFE_RELEASE(_vertexBuffer);
+ CC_SAFE_RELEASE(_indexBuffer);