summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qdepthtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/qdepthtest.cpp')
-rw-r--r--src/render/frontend/qdepthtest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/frontend/qdepthtest.cpp b/src/render/frontend/qdepthtest.cpp
index e7ba1c91e..331a5be8d 100644
--- a/src/render/frontend/qdepthtest.cpp
+++ b/src/render/frontend/qdepthtest.cpp
@@ -49,8 +49,8 @@ class QDepthTest;
class QDepthTestPrivate : public QRenderStatePrivate
{
public :
- QDepthTestPrivate(QDepthTest *qq)
- : QRenderStatePrivate(qq, QRenderState::DepthTest)
+ QDepthTestPrivate()
+ : QRenderStatePrivate(QRenderState::DepthTest)
, m_func(QDepthTest::Never)
{
}
@@ -67,7 +67,7 @@ void QDepthTest::copy(const QNode *ref)
}
QDepthTest::QDepthTest(QNode *parent)
- : QRenderState(*new QDepthTestPrivate(this), parent)
+ : QRenderState(*new QDepthTestPrivate, parent)
{
}