mirror of https://github.com/Xaymar/obs-StreamFX
gfx-effect-source: Fix validity check
Had the check inverted oops.
This commit is contained in:
parent
c88535c7ab
commit
2b2f87e6fc
|
@ -726,7 +726,7 @@ void gfx::effect_source::effect_source::load_file(std::string file)
|
|||
}
|
||||
}
|
||||
if (_cb_valid)
|
||||
skip = skip || _cb_valid(prm);
|
||||
skip = skip || !_cb_valid(prm);
|
||||
if (skip)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue