diff options
Diffstat (limited to 'examples/quick/scenegraph/twotextureproviders/xorblender.cpp')
-rw-r--r-- | examples/quick/scenegraph/twotextureproviders/xorblender.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/scenegraph/twotextureproviders/xorblender.cpp b/examples/quick/scenegraph/twotextureproviders/xorblender.cpp index cb61679141..87ef00aeac 100644 --- a/examples/quick/scenegraph/twotextureproviders/xorblender.cpp +++ b/examples/quick/scenegraph/twotextureproviders/xorblender.cpp @@ -69,7 +69,7 @@ class XorBlendMaterial : public QSGMaterial public: XorBlendMaterial(); QSGMaterialType *type() const override; - QSGMaterialShader *createShader() const override; + QSGMaterialShader *createShader(QSGRendererInterface::RenderMode renderMode) const override; int compare(const QSGMaterial *other) const override; struct { @@ -93,7 +93,7 @@ XorBlendMaterial::XorBlendMaterial() setFlag(Blending); } -QSGMaterialShader *XorBlendMaterial::createShader() const +QSGMaterialShader *XorBlendMaterial::createShader(QSGRendererInterface::RenderMode) const { return new XorBlendRhiShader; } |