From 8325d6e449d99189ef6d4b18af148778cff04bf9 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 21 Nov 2022 22:05:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'3rdparty/fonts/fnt.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdparty/fonts/fnt.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 05a0ec0..0b3f4a2 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -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_bot , float tex_top , float vtx_left, float vtx_right, float vtx_bot , float vtx_top ) { - unsigned int cc = (unsigned char) c ; + unsigned int cc = (unsigned int) c ; exists[cc] = FNT_TRUE ;