mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
project: Fix virtual overrides not using the correct type
This commit is contained in:
parent
a5518388ec
commit
bb21d940bf
5 changed files with 5 additions and 5 deletions
|
@ -259,7 +259,7 @@ void sdf_effects_instance::update(obs_data_t* data)
|
|||
_sdf_threshold = float_t(obs_data_get_double(data, ST_SDF_THRESHOLD) / 100.0);
|
||||
}
|
||||
|
||||
void sdf_effects_instance::video_tick(float)
|
||||
void sdf_effects_instance::video_tick(float_t)
|
||||
{
|
||||
if (obs_source_t* target = obs_filter_get_target(_self); target != nullptr) {
|
||||
_source_rendered = false;
|
||||
|
|
|
@ -89,7 +89,7 @@ namespace streamfx::filter::sdf_effects {
|
|||
virtual void migrate(obs_data_t* data, std::uint64_t version) override;
|
||||
virtual void update(obs_data_t* settings) override;
|
||||
|
||||
virtual void video_tick(float) override;
|
||||
virtual void video_tick(float_t) override;
|
||||
virtual void video_render(gs_effect_t*) override;
|
||||
};
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ void transform_instance::update(obs_data_t* settings)
|
|||
_update_mesh = true;
|
||||
}
|
||||
|
||||
void transform_instance::video_tick(float)
|
||||
void transform_instance::video_tick(float_t)
|
||||
{
|
||||
std::uint32_t width = 0;
|
||||
std::uint32_t height = 0;
|
||||
|
|
|
@ -68,7 +68,7 @@ namespace streamfx::filter::transform {
|
|||
virtual void migrate(obs_data_t* data, std::uint64_t version) override;
|
||||
virtual void update(obs_data_t*) override;
|
||||
|
||||
virtual void video_tick(float) override;
|
||||
virtual void video_tick(float_t) override;
|
||||
virtual void video_render(gs_effect_t*) override;
|
||||
};
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ namespace streamfx::source::mirror {
|
|||
virtual void update(obs_data_t*) override;
|
||||
virtual void save(obs_data_t*) override;
|
||||
|
||||
virtual void video_tick(float) override;
|
||||
virtual void video_tick(float_t) override;
|
||||
virtual void video_render(gs_effect_t*) override;
|
||||
|
||||
virtual void enum_active_sources(obs_source_enum_proc_t, void*) override;
|
||||
|
|
Loading…
Reference in a new issue