summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/lights/main.qml
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@kdab.com>2017-01-27 10:35:42 +0100
committerKevin Ottens <kevin.ottens@kdab.com>2017-01-27 14:59:30 +0000
commite6444f7d6626390711c31dd2cb3f3d25eb60c812 (patch)
tree35cda7ca59dd0675563e6bd223de5ac012531875 /examples/qt3d/lights/main.qml
parent35bbe830ff61677d5de130bfedb2f5301b8a4e0a (diff)
Resurect ForwardRenderer.qml in an example
Could be useful to have it around in an example still, so that people get an idea on how to make their own framegraph in QML from scratch. Some other examples have QML framegraphs too, but this one is simpler. Change-Id: I9065af920b1233d3f06cfee71c59afe98359cb7e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/lights/main.qml')
-rw-r--r--examples/qt3d/lights/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/lights/main.qml b/examples/qt3d/lights/main.qml
index 69250da13..c676335c4 100644
--- a/examples/qt3d/lights/main.qml
+++ b/examples/qt3d/lights/main.qml
@@ -58,7 +58,7 @@ Entity
{
components: [
RenderSettings {
- activeFrameGraph: ForwardRenderer {
+ activeFrameGraph: SimpleForwardRenderer {
clearColor: Qt.rgba(0, 0, 0, 1)
camera: camera
}