aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/util/qsgtexturematerial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/util/qsgtexturematerial.cpp')
-rw-r--r--src/quick/scenegraph/util/qsgtexturematerial.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/quick/scenegraph/util/qsgtexturematerial.cpp b/src/quick/scenegraph/util/qsgtexturematerial.cpp
index 38776dbaa6..0573cd8966 100644
--- a/src/quick/scenegraph/util/qsgtexturematerial.cpp
+++ b/src/quick/scenegraph/util/qsgtexturematerial.cpp
@@ -171,8 +171,9 @@ QSGMaterialType *QSGOpaqueTextureMaterial::type() const
/*!
\internal
*/
-QSGMaterialShader *QSGOpaqueTextureMaterial::createShader() const
+QSGMaterialShader *QSGOpaqueTextureMaterial::createShader(QSGRendererInterface::RenderMode renderMode) const
{
+ Q_UNUSED(renderMode);
return new QSGOpaqueTextureMaterialRhiShader;
}
@@ -359,8 +360,9 @@ QSGMaterialType *QSGTextureMaterial::type() const
\internal
*/
-QSGMaterialShader *QSGTextureMaterial::createShader() const
+QSGMaterialShader *QSGTextureMaterial::createShader(QSGRendererInterface::RenderMode renderMode) const
{
+ Q_UNUSED(renderMode);
return new QSGTextureMaterialRhiShader;
}