Commit d2dc2ff9a365e9ec9c13514664dc53f91708d83c

henry 2002-02-16T06:18:52

removed FT_Done_Glyph

diff --git a/src/FTGLPixmapFont.cpp b/src/FTGLPixmapFont.cpp
index 446817b..3238e5b 100755
--- a/src/FTGLPixmapFont.cpp
+++ b/src/FTGLPixmapFont.cpp
@@ -20,7 +20,7 @@ FTGlyph* FTGLPixmapFont::MakeGlyph( unsigned int g)
 	if( ftGlyph)
 	{
 		FTPixmapGlyph* tempGlyph = new FTPixmapGlyph( *ftGlyph);
-        FT_Done_Glyph( *ftGlyph );
+//        FT_Done_Glyph( *ftGlyph );
 		return tempGlyph;
 	}
 
diff --git a/src/FTGLTextureFont.cpp b/src/FTGLTextureFont.cpp
index df30c2d..512422b 100755
--- a/src/FTGLTextureFont.cpp
+++ b/src/FTGLTextureFont.cpp
@@ -83,7 +83,7 @@ FTGlyph* FTGLTextureFont::MakeGlyph( unsigned int g)
 		xOffset += tempGlyph->BBox().x2 - tempGlyph->BBox().x1 + padding;
 		
 		--remGlyphs;
-                FT_Done_Glyph( *ftGlyph );
+//                FT_Done_Glyph( *ftGlyph );
 		return tempGlyph;
 	}