diff options
author | Robert Brock <robert.brock@kdab.com> | 2016-02-26 09:50:37 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-03-08 13:28:40 +0000 |
commit | 2a98c7e7d20bf720c4f4b6444d6317e99face7ec (patch) | |
tree | 9c7819883ef88f751beedd8d754c2445064c4edb /examples/qt3d/shadow-map-qml | |
parent | 4301f0c352ad5260536994870a5f1a5c713795a6 (diff) |
QPolygonOffset renamed units to depthSteps
Carried changes into the QML examples (planets and
shadow map) for both PolygonOffset name changes
As per API review
Change-Id: Idd2676d53794eb6025696a79ddb59a26ac98b085
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/shadow-map-qml')
-rw-r--r-- | examples/qt3d/shadow-map-qml/AdsEffect.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/shadow-map-qml/AdsEffect.qml b/examples/qt3d/shadow-map-qml/AdsEffect.qml index 537035cdc..4f6910f63 100644 --- a/examples/qt3d/shadow-map-qml/AdsEffect.qml +++ b/examples/qt3d/shadow-map-qml/AdsEffect.qml @@ -92,7 +92,7 @@ Effect { } renderStates: [ - PolygonOffset { scaleFactor: 4; units: 4 }, + PolygonOffset { scaleFactor: 4; depthSteps: 4 }, DepthTest { depthFunction: DepthTest.Less } ] }, @@ -137,7 +137,7 @@ Effect { } renderStates: [ - PolygonOffset { scaleFactor: 4; units: 4 }, + PolygonOffset { scaleFactor: 4; depthSteps: 4 }, DepthTest { depthFunction: DepthTest.Less } ] }, |