summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/effectmanager.cpp
diff options
context:
space:
mode:
author therealmogminer@gmail.com <therealmogminer@gmail.com>2016-03-12 01:31:13 +0100
committer therealmogminer@gmail.com <therealmogminer@gmail.com>2016-03-13 15:51:19 +0100
commitcd8f796df658caf91af31de35d87ab0de77e69e9 (patch)
treed4abc539d9cfa747080806c0e10e3f190265dc4d /src/osd/modules/render/bgfx/effectmanager.cpp
parentad1e6ef899eb856f14354fa952b2a2b0c8aafaa7 (diff)
Add bgfx command line options, major shakeup of organization, nw
Diffstat (limited to 'src/osd/modules/render/bgfx/effectmanager.cpp')
-rw-r--r--src/osd/modules/render/bgfx/effectmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/render/bgfx/effectmanager.cpp b/src/osd/modules/render/bgfx/effectmanager.cpp
index ed10e600a42..f86afc6719a 100644
--- a/src/osd/modules/render/bgfx/effectmanager.cpp
+++ b/src/osd/modules/render/bgfx/effectmanager.cpp
@@ -46,7 +46,7 @@ bgfx_effect* effect_manager::effect(std::string name)
bgfx_effect* effect_manager::load_effect(std::string name)
{
- std::string path = "bgfx/effects/" + name + ".json";
+ std::string path = std::string(m_options.bgfx_path()) + "/effects/" + name + ".json";
bx::CrtFileReader reader;
bx::open(&reader, path.c_str());