refactor code and support utf8 strings rendering
This commit is contained in:
@@ -38,9 +38,13 @@ namespace OpenVulkano
|
||||
}
|
||||
}
|
||||
|
||||
Array<char> ResourceLoaderAppDirWindows::GetResource(const std::string& resourceName, std::string& resourcePath)
|
||||
std::string ResourceLoaderAppDirWindows::GetResourcePath(const std::string& resourceName)
|
||||
{
|
||||
resourcePath = GetAppDir() + resourceName;
|
||||
return Utils::ReadFile(resourcePath);
|
||||
return GetAppDir() + resourceName;
|
||||
}
|
||||
|
||||
Array<char> ResourceLoaderAppDirWindows::GetResource(const std::string& resourceName)
|
||||
{
|
||||
return Utils::ReadFile(resourceName);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user