Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Explicit std::path conversion because windows wined
Browse files Browse the repository at this point in the history
  • Loading branch information
pierr3 committed Feb 25, 2024
1 parent 44af312 commit b41c334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ int main(int, char**)

#ifdef SFML_SYSTEM_WINDOWS
std::string iconPath
= vector_audio::Configuration::get_resource_folder() / "icon_win.png";
= (vector_audio::Configuration::get_resource_folder() / std::filesystem::path("icon_win.png")).string();
#else
std::string iconPath
= vector_audio::Configuration::get_resource_folder() / "icon_mac.png";
= (vector_audio::Configuration::get_resource_folder() / std::filesystem::path("icon_mac.png")).string();
#endif

SDL_Surface* icon = IMG_Load(iconPath.c_str());
Expand Down

0 comments on commit b41c334

Please sign in to comment.