Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/Utility/ImageTools.cpp

Diff revisions: vs.
  @@ -100,7 +100,7 @@
100 100 _format = textureFormatDevIL(format);
101 101 _imageSize = (size_t)(_dimensions.width) * (size_t)(_dimensions.height) * (size_t)(_bpp);
102 102
103 - _data = New U8[_imageSize];
103 + _data = MemoryManager_NEW U8[_imageSize];
104 104 memcpy(_data, ilGetData(), _imageSize);
105 105
106 106 ilBindImage(0);
  @@ -134,7 +134,7 @@
134 134 void ImageData::destroy() {
135 135 ilDeleteImage( _ilTexture );
136 136 _ilTexture = 0;
137 - MemoryManager::SAFE_DELETE_ARRAY( _data );
137 + MemoryManager::DELETE_ARRAY( _data );
138 138 }
139 139
140 140 vec4<U8> ImageData::getColor(U16 x, U16 y) const {