[client,sdl] use std::filesystem u8string()
This commit is contained in:
parent
c0e3a00502
commit
43a70ccb90
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user