加入volk 和 wma 后 编译不通过, 先保存代码
This commit is contained in:
@@ -13,6 +13,15 @@ void VK_CHECK(VkResult ret)
|
||||
assert(ret == VK_SUCCESS);
|
||||
}
|
||||
|
||||
std::string AppBase::getPath(const std::string path)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
std::string android_path = "app/src/main/assets/" + path;
|
||||
return android_path;
|
||||
#endif
|
||||
return path;
|
||||
}
|
||||
|
||||
std::vector<char> AppBase::readFile(const std::string& path)
|
||||
{
|
||||
std::vector<char> buffer;
|
||||
|
||||
Reference in New Issue
Block a user