更新 '3rdparty/fonts/fnt.cxx'

This commit is contained in:
zhongjin 2022-11-21 22:05:29 +08:00
parent cec71cd7ba
commit 8325d6e449

View File

@ -108,13 +108,13 @@ float fntTexFont::low_putch ( sgVec3 curpos, float pointsize,
void fntTexFont::setGlyph ( char c, float wid, void fntTexFont::setGlyph ( int c, float wid,
float tex_left, float tex_right, float tex_left, float tex_right,
float tex_bot , float tex_top , float tex_bot , float tex_top ,
float vtx_left, float vtx_right, float vtx_left, float vtx_right,
float vtx_bot , float vtx_top ) float vtx_bot , float vtx_top )
{ {
unsigned int cc = (unsigned char) c ; unsigned int cc = (unsigned int) c ;
exists[cc] = FNT_TRUE ; exists[cc] = FNT_TRUE ;