summaryrefslogtreecommitdiffstats
path: root/src/quick3d/imports/scene3d/scene3dsgmaterial_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick3d/imports/scene3d/scene3dsgmaterial_p.h')
-rw-r--r--src/quick3d/imports/scene3d/scene3dsgmaterial_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick3d/imports/scene3d/scene3dsgmaterial_p.h b/src/quick3d/imports/scene3d/scene3dsgmaterial_p.h
index 0ff1bed27..f3817dc05 100644
--- a/src/quick3d/imports/scene3d/scene3dsgmaterial_p.h
+++ b/src/quick3d/imports/scene3d/scene3dsgmaterial_p.h
@@ -65,13 +65,13 @@ class Scene3DSGMaterial : public QSGMaterial
public:
Scene3DSGMaterial();
- void setTexture(QSGTexture *texture) Q_DECL_NOEXCEPT
+ void setTexture(QSGTexture *texture)
{
m_texture = texture;
setFlag(Blending, m_texture ? m_texture->hasAlphaChannel() : false);
}
- QSGTexture *texture() const Q_DECL_NOEXCEPT { return m_texture; }
+ QSGTexture *texture() const Q_DECL_NOTHROW { return m_texture; }
QSGMaterialType *type() const Q_DECL_FINAL { return &Scene3DSGMaterialShader::type; }
QSGMaterialShader *createShader() const Q_DECL_FINAL { return new Scene3DSGMaterialShader(); }