[client,sdl] use std::filesystem u8string()

This commit is contained in:
akallabeth 2024-02-27 13:29:34 +01:00 committed by akallabeth
parent c0e3a00502
commit 43a70ccb90

View File

@ -49,7 +49,7 @@ SDL_RWops* SDLResourceManager::get(const std::string& type, const std::string& i
<< fs::absolute(path) << std::endl;
std::cerr << "file not found, application will fail" << std::endl;
}
return SDL_RWFromFile(path.native().c_str(), "rb");
return SDL_RWFromFile(path.u8string().c_str(), "rb");
#endif
}