更新 '3rdparty/fonts/fntTXF.cxx'
This commit is contained in:
parent
30333dbdb2
commit
b3706f80e0
14
3rdparty/fonts/fntTXF.cxx
vendored
14
3rdparty/fonts/fntTXF.cxx
vendored
@ -151,15 +151,15 @@ static void tex_make_mip_maps ( GLubyte *image, int xsize,
|
|||||||
int fntTexFont::loadTXF ( const SGPath& path, GLenum mag, GLenum min )
|
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 ;
|
FILE *fd ;
|
||||||
const auto ps = path.utf8Str();
|
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)
|
#if defined(SG_WINDOWS)
|
||||||
std::wstring fp = path.wstr();
|
std::wstring fp = path.wstr();
|
||||||
fd = _wfopen(fp.c_str(), L"rb");
|
fd = _wfopen(fp.c_str(), L"rb");
|
||||||
|
Loading…
Reference in New Issue
Block a user