summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qdithering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/qdithering.cpp')
-rw-r--r--src/render/frontend/qdithering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/frontend/qdithering.cpp b/src/render/frontend/qdithering.cpp
index 7b45db087..6d8bb5fdf 100644
--- a/src/render/frontend/qdithering.cpp
+++ b/src/render/frontend/qdithering.cpp
@@ -47,15 +47,15 @@ namespace Qt3D {
class QDitheringPrivate : public QRenderStatePrivate
{
public:
- QDitheringPrivate(QDithering *qq)
- : QRenderStatePrivate(qq, QRenderState::Dithering)
+ QDitheringPrivate()
+ : QRenderStatePrivate(QRenderState::Dithering)
{}
Q_DECLARE_PUBLIC(QDithering)
};
QDithering::QDithering(QNode *parent)
- : QRenderState(*new QDitheringPrivate(this), parent)
+ : QRenderState(*new QDitheringPrivate, parent)
{
}