diff --git a/source/filter-custom-shader.hpp b/source/filter-custom-shader.hpp index 0e3c17fc..bd2a1d7d 100644 --- a/source/filter-custom-shader.hpp +++ b/source/filter-custom-shader.hpp @@ -63,7 +63,7 @@ namespace filter { public: Instance(obs_data_t*, obs_source_t*); - ~Instance(); + virtual ~Instance(); uint32_t get_width(); uint32_t get_height(); diff --git a/source/gfx-effect-source.hpp b/source/gfx-effect-source.hpp index 873a737f..4e223456 100644 --- a/source/gfx-effect-source.hpp +++ b/source/gfx-effect-source.hpp @@ -146,7 +146,7 @@ namespace gfx { public: effect_source(obs_data_t* data, obs_source_t* owner); - ~effect_source(); + virtual ~effect_source(); void get_properties(obs_properties_t* properties); static void get_defaults(obs_data_t* data);