diff options
author | Volker Krause <volker.krause@kdab.com> | 2016-03-02 16:40:49 +0100 |
---|---|---|
committer | Volker Krause <volker.krause@kdab.com> | 2016-03-03 08:33:28 +0000 |
commit | c47615de545b61d75a905888b26303b5cdb0fa5c (patch) | |
tree | f04fff8418c5b431f6d2ab659f4b692c920fa91b /examples | |
parent | 2dbfc82a8e16e227cf9abb72f8c3b6d9b5be3ffe (diff) |
Follow API changes in PolygonOffset.
Change-Id: I3a279ec603bb69dec423a80db9ebb652bd458cce
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qt3d/planets-qml/PlanetShadowEffectD.qml | 2 | ||||
-rw-r--r-- | examples/qt3d/shadow-map-qml/AdsEffect.qml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/qt3d/planets-qml/PlanetShadowEffectD.qml b/examples/qt3d/planets-qml/PlanetShadowEffectD.qml index 578080472..d1b0c6994 100644 --- a/examples/qt3d/planets-qml/PlanetShadowEffectD.qml +++ b/examples/qt3d/planets-qml/PlanetShadowEffectD.qml @@ -86,7 +86,7 @@ Effect { } renderStates: [ - PolygonOffset { factor: 4; units: 4 }, + PolygonOffset { scaleFactor: 4; units: 4 }, DepthTest { depthFunction: DepthTest.Less } ] }, diff --git a/examples/qt3d/shadow-map-qml/AdsEffect.qml b/examples/qt3d/shadow-map-qml/AdsEffect.qml index e136d91fe..537035cdc 100644 --- a/examples/qt3d/shadow-map-qml/AdsEffect.qml +++ b/examples/qt3d/shadow-map-qml/AdsEffect.qml @@ -92,7 +92,7 @@ Effect { } renderStates: [ - PolygonOffset { factor: 4; units: 4 }, + PolygonOffset { scaleFactor: 4; units: 4 }, DepthTest { depthFunction: DepthTest.Less } ] }, @@ -137,7 +137,7 @@ Effect { } renderStates: [ - PolygonOffset { factor: 4; units: 4 }, + PolygonOffset { scaleFactor: 4; units: 4 }, DepthTest { depthFunction: DepthTest.Less } ] }, |