summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/deferred-renderer-cpp/pointlightblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/deferred-renderer-cpp/pointlightblock.h')
-rw-r--r--examples/qt3d/deferred-renderer-cpp/pointlightblock.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/qt3d/deferred-renderer-cpp/pointlightblock.h b/examples/qt3d/deferred-renderer-cpp/pointlightblock.h
index 8fb470504..6e8d3639f 100644
--- a/examples/qt3d/deferred-renderer-cpp/pointlightblock.h
+++ b/examples/qt3d/deferred-renderer-cpp/pointlightblock.h
@@ -39,7 +39,7 @@
#include <Qt3DRenderer/QShaderData>
-class PointLightBlock : public Qt3D::QShaderData
+class PointLightBlock : public Qt3DRender::QShaderData
{
Q_OBJECT
Q_PROPERTY(QList<QShaderData *> lights READ lights NOTIFY lightsChanged)
@@ -47,14 +47,14 @@ public:
explicit PointLightBlock(Qt3D::QNode *parent = 0);
~PointLightBlock();
- QList<QShaderData *> lights() const;
- void addLight(QShaderData *light);
+ QList<Qt3DRender::QShaderData *> lights() const;
+ void addLight(Qt3DRender::QShaderData *light);
Q_SIGNALS:
void lightsChanged();
private:
- QList<Qt3D::QShaderData *> m_lights;
+ QList<Qt3DRender::QShaderData *> m_lights;
};
#endif // POINTLIGHTBLOCK_H