mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 07:01:21 +02:00
- fixed freetype check for FT_Library_SetLcdFilterWeights (requires v 2.4.0 minimum)
This commit is contained in:
@@ -246,8 +246,8 @@ texture_font_cache_glyphs( TextureFont *self,
|
|||||||
{
|
{
|
||||||
FT_Library_SetLcdFilter( library, FT_LCD_FILTER_LIGHT );
|
FT_Library_SetLcdFilter( library, FT_LCD_FILTER_LIGHT );
|
||||||
flags |= FT_LOAD_TARGET_LCD;
|
flags |= FT_LOAD_TARGET_LCD;
|
||||||
#if ((FREETYPE_MAJOR <= 2) && ((FREETYPE_MINOR < 3)))
|
#if ((FREETYPE_MAJOR <= 2) && ((FREETYPE_MINOR < 4)))
|
||||||
//#error "Need FreeType 2.3.0 or newer"
|
//#error "Need FreeType 2.4.0 or newer"
|
||||||
#else
|
#else
|
||||||
|
|
||||||
if( self->lcd_filter )
|
if( self->lcd_filter )
|
||||||
|
Reference in New Issue
Block a user