mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
filter-shader: Don't ignore all properties
This commit is contained in:
parent
b8fc0d5284
commit
d7e66b17f1
1 changed files with 3 additions and 3 deletions
|
@ -217,11 +217,11 @@ void filter::shader::shader_instance::deactivate()
|
||||||
|
|
||||||
bool filter::shader::shader_instance::valid_param(std::shared_ptr<gs::effect_parameter> param)
|
bool filter::shader::shader_instance::valid_param(std::shared_ptr<gs::effect_parameter> param)
|
||||||
{
|
{
|
||||||
if (strcmpi(param->get_name().c_str(), "ImageSource"))
|
if (strcmpi(param->get_name().c_str(), "ImageSource") == 0)
|
||||||
return false;
|
return false;
|
||||||
if (strcmpi(param->get_name().c_str(), "ImageSource_Size"))
|
if (strcmpi(param->get_name().c_str(), "ImageSource_Size") == 0)
|
||||||
return false;
|
return false;
|
||||||
if (strcmpi(param->get_name().c_str(), "ImageSource_Texel"))
|
if (strcmpi(param->get_name().c_str(), "ImageSource_Texel") == 0)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue