diff options
| author | 2022-06-15 06:57:23 -0400 | |
|---|---|---|
| committer | 2022-06-15 20:57:23 +1000 | |
| commit | 699630ed167692e6d8d953caadd228bbd87c19aa (patch) | |
| tree | 3b85ee6f8ceb4bcc5e97419206bb89200185faf4 /src/osd/modules/render/bgfx/shadermanager.cpp | |
| parent | fe1e26a9fb437de24661a5cb16f82ec94cdb14fc (diff) | |
osdcore.h: Changed osd_subst_env to accept a std::string_view and return a std::string. (#9928)
Diffstat (limited to 'src/osd/modules/render/bgfx/shadermanager.cpp')
| -rw-r--r-- | src/osd/modules/render/bgfx/shadermanager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/osd/modules/render/bgfx/shadermanager.cpp b/src/osd/modules/render/bgfx/shadermanager.cpp index dd131e719a5..484c14c8936 100644 --- a/src/osd/modules/render/bgfx/shadermanager.cpp +++ b/src/osd/modules/render/bgfx/shadermanager.cpp @@ -116,9 +116,7 @@ std::string shader_manager::make_path_string(osd_options &options, std::string n fatalerror("Unknown BGFX renderer type %d", bgfx::getRendererType()); } shader_path += PATH_SEPARATOR; - osd_subst_env(shader_path, shader_path); - - return shader_path; + return osd_subst_env(shader_path); } const bgfx::Memory* shader_manager::load_mem(std::string name) |
