diff --git a/src/plugins/score-plugin-gfx/Gfx/Spout/SpoutInput.cpp b/src/plugins/score-plugin-gfx/Gfx/Spout/SpoutInput.cpp index 57fc50744f..bb6398aa38 100644 --- a/src/plugins/score-plugin-gfx/Gfx/Spout/SpoutInput.cpp +++ b/src/plugins/score-plugin-gfx/Gfx/Spout/SpoutInput.cpp @@ -41,7 +41,8 @@ class SpoutInputNode::Renderer : public score::gfx::NodeRenderer { public: explicit Renderer(const SpoutInputNode& n) - : node{n} + : score::gfx::NodeRenderer{n} + , node{n} { } diff --git a/src/plugins/score-plugin-gfx/Gfx/Syphon/SyphonInput.mm b/src/plugins/score-plugin-gfx/Gfx/Syphon/SyphonInput.mm index fffa5b3784..7b0c6fe01c 100644 --- a/src/plugins/score-plugin-gfx/Gfx/Syphon/SyphonInput.mm +++ b/src/plugins/score-plugin-gfx/Gfx/Syphon/SyphonInput.mm @@ -44,7 +44,10 @@ explicit SyphonInputNode(const InputSettings& s) class SyphonInputNode::Renderer : public score::gfx::NodeRenderer { public: - explicit Renderer(const SyphonInputNode& n): node{n} { } + explicit Renderer(const SyphonInputNode &n) + : score::gfx::NodeRenderer{n} + , node{n} + {} private: const SyphonInputNode& node;