Skip to content

Commit

Permalink
editor linux fix
Browse files Browse the repository at this point in the history
  • Loading branch information
turanszkij committed Dec 1, 2023
1 parent 53e3322 commit 7aef0ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Editor/Editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ void Editor::Initialize()
auto ext_video = wi::resourcemanager::GetSupportedVideoExtensions();
for (auto& x : ext_video)
{
filetypes.insert(std::make_pair(x, FileType::VIDEO));
filetypes[x] = FileType::VIDEO;
}
auto ext_sound = wi::resourcemanager::GetSupportedSoundExtensions();
for (auto& x : ext_sound)
{
filetypes.insert(std::make_pair(x, FileType::SOUND));
filetypes[x] = FileType::SOUND;
}
auto ext_image = wi::resourcemanager::GetSupportedImageExtensions();
for (auto& x : ext_image)
{
filetypes.insert(std::make_pair(x, FileType::IMAGE));
filetypes[x] = FileType::IMAGE;
}

Application::Initialize();
Expand Down

0 comments on commit 7aef0ef

Please sign in to comment.