comparison libvo/font_load.c @ 28200:56868e6fb340

Conditionally define render_one_glyph and kerning dummy functions in font_load.c when FreeType is not enabled instead of conditionally defining them in font_load.h. This moves the workaround closer to where the actual problem is.
author diego
date Fri, 02 Jan 2009 14:41:38 +0000
parents 0f4e0c39c20e
children 7681eab10aea
comparison
equal deleted inserted replaced
28199:0f4e0c39c20e 28200:56868e6fb340
333 free(desc->name); 333 free(desc->name);
334 if (desc) 334 if (desc)
335 free(desc); 335 free(desc);
336 return NULL; 336 return NULL;
337 } 337 }
338
339 #ifndef CONFIG_FREETYPE
340 void render_one_glyph(font_desc_t *desc, int c) {}
341 int kerning(font_desc_t *desc, int prevc, int c) { return 0; }
342 #endif