Got rid of the pre cache flag
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
diff --git a/include/FTGlyphContainer.h b/include/FTGlyphContainer.h
index 1c2e74e..0e00892 100755
--- a/include/FTGlyphContainer.h
+++ b/include/FTGlyphContainer.h
@@ -28,7 +28,7 @@ class FTGL_EXPORT FTGlyphContainer
* @param p A flag to indicate preprocessing of glyphs.
* Not used.
*/
- FTGlyphContainer( FTFace* face, unsigned int numGlyphs, bool p = false);
+ FTGlyphContainer( FTFace* face, unsigned int numGlyphs);
/**
* Destructor
@@ -83,11 +83,6 @@ class FTGL_EXPORT FTGlyphContainer
private:
/**
- * A flag to indicate preprocessing of glyphs. Not used.
- */
- bool preCache;
-
- /**
* How meny glyphs are stored in this container
*/
int numGlyphs;
diff --git a/src/FTGlyphContainer.cpp b/src/FTGlyphContainer.cpp
index 4950fac..0527b1b 100755
--- a/src/FTGlyphContainer.cpp
+++ b/src/FTGlyphContainer.cpp
@@ -2,13 +2,12 @@
#include "FTGlyph.h"
#include "FTFace.h"
-FTGlyphContainer::FTGlyphContainer( FTFace* f, unsigned int g, bool p)
-: preCache( p),
- numGlyphs( g),
+
+FTGlyphContainer::FTGlyphContainer( FTFace* f, unsigned int g)
+: numGlyphs( g),
face( f),
err( 0)
{
- // Fill the glyphlist with null glyphs
glyphs.resize( g, NULL);
}