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

This commit is contained in:
zhongjin 2022-11-21 20:43:48 +08:00
parent 30333dbdb2
commit b3706f80e0

View File

@ -151,15 +151,15 @@ static void tex_make_mip_maps ( GLubyte *image, int xsize,
int fntTexFont::loadTXF ( const SGPath& path, GLenum mag, GLenum min )
{
//zhongjin
SG_LOG(SG_GUI,SG_ALERT, "-----------------------------------------------------------");
SG_LOG(SG_GUI,SG_ALERT, "loadTXF");
SG_LOG(SG_GUI,SG_ALERT, "-----------------------------------------------------------");
FILE *fd ;
const auto ps = path.utf8Str();
//zhongjin
SG_LOG(SG_GUI,SG_ALERT, "-----------------------------------------------------------");
SG_LOG(SG_GUI,SG_ALERT, "loadTXF " << ps);
SG_LOG(SG_GUI,SG_ALERT, "-----------------------------------------------------------");
#if defined(SG_WINDOWS)
std::wstring fp = path.wstr();
fd = _wfopen(fp.c_str(), L"rb");