summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Krause <volker.krause@kdab.com>2016-03-02 16:40:49 +0100
committerVolker Krause <volker.krause@kdab.com>2016-03-03 08:33:28 +0000
commitc47615de545b61d75a905888b26303b5cdb0fa5c (patch)
treef04fff8418c5b431f6d2ab659f4b692c920fa91b
parent2dbfc82a8e16e227cf9abb72f8c3b6d9b5be3ffe (diff)
Follow API changes in PolygonOffset.
Change-Id: I3a279ec603bb69dec423a80db9ebb652bd458cce Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r--examples/qt3d/planets-qml/PlanetShadowEffectD.qml2
-rw-r--r--examples/qt3d/shadow-map-qml/AdsEffect.qml4
-rw-r--r--tests/benchmarks/Qt3DBench/ShadowEffect.qml2
3 files changed, 4 insertions, 4 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 }
]
},
diff --git a/tests/benchmarks/Qt3DBench/ShadowEffect.qml b/tests/benchmarks/Qt3DBench/ShadowEffect.qml
index cda4d4a85..12d69d4ae 100644
--- a/tests/benchmarks/Qt3DBench/ShadowEffect.qml
+++ b/tests/benchmarks/Qt3DBench/ShadowEffect.qml
@@ -55,7 +55,7 @@ Effect {
}
renderStates: [
- PolygonOffset { factor: 4; units: 4 },
+ PolygonOffset { scaleFactor: 4; units: 4 },
DepthTest { func: DepthTest.Less }
]
},