project: Fix virtual overrides not using the correct type

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-04-24 03:54:30 +02:00
parent a5518388ec
commit bb21d940bf
5 changed files with 5 additions and 5 deletions

View file

@ -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); _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) { if (obs_source_t* target = obs_filter_get_target(_self); target != nullptr) {
_source_rendered = false; _source_rendered = false;

View file

@ -89,7 +89,7 @@ namespace streamfx::filter::sdf_effects {
virtual void migrate(obs_data_t* data, std::uint64_t version) override; virtual void migrate(obs_data_t* data, std::uint64_t version) override;
virtual void update(obs_data_t* settings) 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; virtual void video_render(gs_effect_t*) override;
}; };

View file

@ -156,7 +156,7 @@ void transform_instance::update(obs_data_t* settings)
_update_mesh = true; _update_mesh = true;
} }
void transform_instance::video_tick(float) void transform_instance::video_tick(float_t)
{ {
std::uint32_t width = 0; std::uint32_t width = 0;
std::uint32_t height = 0; std::uint32_t height = 0;

View file

@ -68,7 +68,7 @@ namespace streamfx::filter::transform {
virtual void migrate(obs_data_t* data, std::uint64_t version) override; virtual void migrate(obs_data_t* data, std::uint64_t version) override;
virtual void update(obs_data_t*) 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; virtual void video_render(gs_effect_t*) override;
}; };

View file

@ -66,7 +66,7 @@ namespace streamfx::source::mirror {
virtual void update(obs_data_t*) override; virtual void update(obs_data_t*) override;
virtual void save(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 video_render(gs_effect_t*) override;
virtual void enum_active_sources(obs_source_enum_proc_t, void*) override; virtual void enum_active_sources(obs_source_enum_proc_t, void*) override;