mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
Merge branch 'main' into curl
This commit is contained in:
commit
9b73e78a37
8 changed files with 132 additions and 107 deletions
|
|
@ -63,7 +63,7 @@ static std::unique_ptr<ImageData> load_icon(const fs::path& resdir) {
|
|||
try {
|
||||
auto file = resdir / fs::u8path("textures/misc/icon.png");
|
||||
if (fs::exists(file)) {
|
||||
return imageio::read(file.u8string());
|
||||
return imageio::read(file);
|
||||
}
|
||||
} catch (const std::exception& err) {
|
||||
logger.error() << "could not load window icon: " << err.what();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue