diff --git a/source/gfx-source-texture.cpp b/source/gfx-source-texture.cpp index bf4a499..87255b0 100644 --- a/source/gfx-source-texture.cpp +++ b/source/gfx-source-texture.cpp @@ -77,7 +77,8 @@ gfx::source_texture::source_texture(std::shared_ptr child, std::sha throw std::runtime_error("parent is contained in child"); } this->child = child; - this->parent = parent; + this->parent = parent; + this->render_target = std::make_shared(GS_RGBA, GS_ZS_NONE); } gfx::source_texture::source_texture(std::shared_ptr child, obs_source_t* _parent)