mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
parent
aacb1d41bc
commit
54127f6ced
1 changed files with 1 additions and 3 deletions
|
@ -202,9 +202,7 @@ void gfx::shader::shader::properties(obs_properties_t* pr)
|
|||
if (_shader_file.has_parent_path()) {
|
||||
path = _shader_file.parent_path().string();
|
||||
} else {
|
||||
char* vp = obs_module_file("examples");
|
||||
path = vp;
|
||||
bfree(vp);
|
||||
path = streamfx::data_file_path("examples/").u8string();
|
||||
}
|
||||
auto p = obs_properties_add_path(grp, ST_SHADER_FILE, D_TRANSLATE(ST_SHADER_FILE), OBS_PATH_FILE, "*.*",
|
||||
path.c_str());
|
||||
|
|
Loading…
Reference in a new issue