mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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();
|
BitmapTex *bmt = NewDefaultBitmapTex();
|
||||||
#ifdef _UNICODE
|
#ifdef _UNICODE
|
||||||
bmt->SetMapName(fn.to_os_specific_w().c_str());
|
bmt->SetMapName((TCHAR*) fn.to_os_specific_w().c_str());
|
||||||
#else
|
#else
|
||||||
bmt->SetMapName(fn.to_os_specific().c_str());
|
bmt->SetMapName((char*) fn.to_os_specific().c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
StdMat *mat = NewDefaultStdMat();
|
StdMat *mat = NewDefaultStdMat();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user