Verified Commit 4a10a050 authored by Bernd Paysan's avatar Bernd Paysan
Browse files

Fix lookup problem

parent 143e076c
Loading
Loading
Loading
Loading
+21 −21
Original line number Diff line number Diff line
@@ -9,29 +9,29 @@

FTGL_ERROR_START_LIST

FTGL_ERRORDEF_( Texture_Atlas_Full,			0x01,
FTGL_ERRORDEF_( Texture_Atlas_Full,			0x00,
		"Texture atlas is full" )
    FTGL_ERRORDEF_( Cannot_Load_File,			0x02,
FTGL_ERRORDEF_( Cannot_Load_File,			0x01,
		"unable to load file" )
    FTGL_ERRORDEF_( Font_Unavailable,			0x03,
FTGL_ERRORDEF_( Font_Unavailable,			0x02,
		"no font available" )
    FTGL_ERRORDEF_( No_Font_File_Given,			0x04,
FTGL_ERRORDEF_( No_Font_File_Given,			0x03,
		"no font file given" )
    FTGL_ERRORDEF_( Out_Of_Memory,			0x05,
FTGL_ERRORDEF_( Out_Of_Memory,				0x04,
		"out of memory" )
    FTGL_ERRORDEF_( Unimplemented_Function,		0x06,
FTGL_ERRORDEF_( Unimplemented_Function,			0x05,
		"unimplemented function" )
    FTGL_ERRORDEF_( Cant_Match_Family,			0x07,
FTGL_ERRORDEF_( Cant_Match_Family,			0x06,
		"fontconfig error: could not match family" )
    FTGL_ERRORDEF_( No_Font_In_Markup,			0x08,
FTGL_ERRORDEF_( No_Font_In_Markup,			0x07,
		"Markup doesn't have a font" )
    FTGL_ERRORDEF_( No_Size_Specified,			0x09,
FTGL_ERRORDEF_( No_Size_Specified,			0x08,
		"No size specified for attribute" )
FTGL_ERRORDEF_( No_Format_Specified,			0x0A,
FTGL_ERRORDEF_( No_Format_Specified,			0x09,
		"No format specified for attribute" )
FTGL_ERRORDEF_( Vertex_Attribute_Format_Wrong,	0x0B,
FTGL_ERRORDEF_( Vertex_Attribute_Format_Wrong,		0x0A,
		"Vertex attribute format not understood" )
FTGL_ERRORDEF_( Load_Color_Not_Available,	0x0C,
FTGL_ERRORDEF_( Load_Color_Not_Available,		0x0B,
		"FT_LOAD_COLOR not available" )

FTGL_ERROR_END_LIST
+1 −1
Original line number Diff line number Diff line
@@ -612,7 +612,7 @@ texture_font_load_glyph_gi( texture_font_t * self,
    size_t missed = 0;

    /* Check if codepoint has been already loaded */
    if (texture_font_find_glyph_gi(self, glyph_index)) {
    if (texture_font_find_glyph_gi(self, ucodepoint)) {
        return 1;
    }