Fixed freetype render 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
diff --git a/src/FTBitmapGlyph.cpp b/src/FTBitmapGlyph.cpp
index 0a03ca0..8ff3dbf 100755
--- a/src/FTBitmapGlyph.cpp
+++ b/src/FTBitmapGlyph.cpp
@@ -7,7 +7,7 @@ FTBitmapGlyph::FTBitmapGlyph( FT_Glyph glyph)
data(0)
{
// This function will always fail if the glyph's format isn't scalable????
- err = FT_Glyph_To_Bitmap( &glyph, ft_Render_mode_mono, 0, 1);
+ err = FT_Glyph_To_Bitmap( &glyph, ft_render_mode_mono, 0, 1);
if( err || ft_glyph_format_bitmap != glyph->format)
{
return;
diff --git a/src/FTPixmapGlyph.cpp b/src/FTPixmapGlyph.cpp
index 0ced396..1da98f1 100755
--- a/src/FTPixmapGlyph.cpp
+++ b/src/FTPixmapGlyph.cpp
@@ -7,7 +7,7 @@ FTPixmapGlyph::FTPixmapGlyph( FT_Glyph glyph)
data(0)
{
// This function will always fail if the glyph's format isn't scalable????
- err = FT_Glyph_To_Bitmap( &glyph, ft_Render_mode_normal, 0, 1);
+ err = FT_Glyph_To_Bitmap( &glyph, ft_render_mode_normal, 0, 1);
if( err || ft_glyph_format_bitmap != glyph->format)
{
return;
diff --git a/src/FTTextureGlyph.cpp b/src/FTTextureGlyph.cpp
index a19c03c..b3fe4f0 100755
--- a/src/FTTextureGlyph.cpp
+++ b/src/FTTextureGlyph.cpp
@@ -9,7 +9,7 @@ FTTextureGlyph::FTTextureGlyph( FT_Glyph glyph, int id, int xOffset, int yOffset
activeTextureID(0)
{
// FIXME This function will always fail if the glyph's format isn't scalable????
- err = FT_Glyph_To_Bitmap( &glyph, ft_Render_mode_normal, 0, 1);
+ err = FT_Glyph_To_Bitmap( &glyph, ft_render_mode_normal, 0, 1);
if( err || glyph->format != ft_glyph_format_bitmap)
{
return;