mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-29 11:01:23 +00:00
parent
cc1b9c1559
commit
aacb1d41bc
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ gs::effect::effect(const std::string& code, const std::string& name)
|
||||||
reset(effect, [](gs_effect_t* ptr) { gs_effect_destroy(ptr); });
|
reset(effect, [](gs_effect_t* ptr) { gs_effect_destroy(ptr); });
|
||||||
}
|
}
|
||||||
|
|
||||||
gs::effect::effect(std::filesystem::path file) : effect(load_file_as_code(file), file.string()) {}
|
gs::effect::effect(std::filesystem::path file) : effect(load_file_as_code(file), file.u8string()) {}
|
||||||
|
|
||||||
gs::effect::~effect()
|
gs::effect::~effect()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue