diff --git a/source/gfx-source-texture.hpp b/source/gfx-source-texture.hpp index 6d137ae9..5fcd91fb 100644 --- a/source/gfx-source-texture.hpp +++ b/source/gfx-source-texture.hpp @@ -50,6 +50,15 @@ namespace gfx { source_texture(std::shared_ptr child, std::shared_ptr parent); source_texture(std::shared_ptr child, obs_source_t* parent); + public /*copy*/: + source_texture(source_texture const& other) = delete; + source_texture& operator=(source_texture const& other) = delete; + + public /*move*/: + source_texture(source_texture&& other) = delete; + source_texture& operator=(source_texture&& other) = delete; + + public: std::shared_ptr render(size_t width, size_t height); public: // Unsafe Methods