FileSearch: Namespace functions under the Common namespace

This commit is contained in:
Lioncash
2017-04-07 00:55:10 -04:00
parent f94cd57a70
commit f7a2f6ad01
9 changed files with 18 additions and 11 deletions

View File

@ -82,8 +82,8 @@ std::string VideoBackend::GetDisplayName() const
static std::vector<std::string> GetShaders(const std::string& sub_dir = "")
{
std::vector<std::string> paths =
DoFileSearch({".glsl"}, {File::GetUserPath(D_SHADERS_IDX) + sub_dir,
File::GetSysDirectory() + SHADERS_DIR DIR_SEP + sub_dir});
Common::DoFileSearch({".glsl"}, {File::GetUserPath(D_SHADERS_IDX) + sub_dir,
File::GetSysDirectory() + SHADERS_DIR DIR_SEP + sub_dir});
std::vector<std::string> result;
for (std::string path : paths)
{