mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
compile error
This commit is contained in:
parent
3841accba9
commit
2b97fccd4d
@ -104,9 +104,9 @@ MaxEggTex *MaxEggLoader::GetTex(const Filename &fn)
|
||||
|
||||
BitmapTex *bmt = NewDefaultBitmapTex();
|
||||
#ifdef _UNICODE
|
||||
bmt->SetMapName(fn.to_os_specific_w().c_str());
|
||||
bmt->SetMapName((TCHAR*) fn.to_os_specific_w().c_str());
|
||||
#else
|
||||
bmt->SetMapName(fn.to_os_specific().c_str());
|
||||
bmt->SetMapName((char*) fn.to_os_specific().c_str());
|
||||
#endif
|
||||
|
||||
StdMat *mat = NewDefaultStdMat();
|
||||
|
Loading…
x
Reference in New Issue
Block a user