Converted the instance of osgNew and osgDelete back to new and delete as part
of depecating the include/osg/MemoryManager
This commit is contained in:
@@ -37,7 +37,7 @@ FTBitmapGlyph::FTBitmapGlyph( FT_Glyph glyph)
|
||||
destWidth = srcWidth;
|
||||
destHeight = srcHeight;
|
||||
|
||||
data = osgNew unsigned char[srcPitch * destHeight];
|
||||
data = new unsigned char[srcPitch * destHeight];
|
||||
|
||||
// !!!! THIS assumes a positive Pitch value. No allowance for negative pitch
|
||||
for(int y = 0; y < srcHeight; ++y)
|
||||
@@ -59,7 +59,7 @@ FTBitmapGlyph::FTBitmapGlyph( FT_Glyph glyph)
|
||||
|
||||
FTBitmapGlyph::~FTBitmapGlyph()
|
||||
{
|
||||
osgDelete [] data;
|
||||
delete [] data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user