编写完顶点渲染程序,先保存一下
This commit is contained in:
+8
-8
@@ -13,14 +13,14 @@ 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::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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user