- fixed freetype check for FT_Library_SetLcdFilterWeights (requires v 2.4.0 minimum)

This commit is contained in:
Mark Vejvoda
2011-11-19 05:34:04 +00:00
parent 5bb270fe41
commit ce68ca0a7d

View File

@@ -246,8 +246,8 @@ texture_font_cache_glyphs( TextureFont *self,
{
FT_Library_SetLcdFilter( library, FT_LCD_FILTER_LIGHT );
flags |= FT_LOAD_TARGET_LCD;
#if ((FREETYPE_MAJOR <= 2) && ((FREETYPE_MINOR < 3)))
//#error "Need FreeType 2.3.0 or newer"
#if ((FREETYPE_MAJOR <= 2) && ((FREETYPE_MINOR < 4)))
//#error "Need FreeType 2.4.0 or newer"
#else
if( self->lcd_filter )