add LoadImage wrapper in CKTexture

This commit is contained in:
2023-10-08 10:42:07 +08:00
parent 812f32bfca
commit 754a281655
6 changed files with 56 additions and 8 deletions

View File

@ -270,6 +270,8 @@ namespace LibCmo::CK2 {
va_end(argptr);
// use c_str(), not XContainer::NSXString::ToCKSTRING because we want make sure this paramter is not nullptr.
// we always output a valid C style string, even if no chars need to write.
m_OutputCallback(result.c_str());
}