diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2016-10-21 08:51:21 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-11-23 20:56:35 +0000 |
commit | d457074ed24fd0af49dd6ab1aefc25044a1e3a1d (patch) | |
tree | bf1c621d0d00f64b168d4a9699f3f04cdbca5645 | |
parent | dcda5a7c3d042a3d6cfe87351258644e4f2153d2 (diff) |
Manual test: fix clipping planes
With the uniform changes, a QML property should have the same type as the
uniform in the shader, otherwise this could result in a float being uploaded
instead of an int and result in system wide freezes.
Change-Id: Ica0e77f972c1c1f41767e67e85ea48b799dfc0e5
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
-rw-r--r-- | tests/manual/clip-planes-qml/ClippingPlanes.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/clip-planes-qml/ClippingPlanes.qml b/tests/manual/clip-planes-qml/ClippingPlanes.qml index 62deabc73..2fed0ce9c 100644 --- a/tests/manual/clip-planes-qml/ClippingPlanes.qml +++ b/tests/manual/clip-planes-qml/ClippingPlanes.qml @@ -59,7 +59,7 @@ Entity { property Layer visualizationLayer property ShaderData sectionData: ShaderData { - property real sectionsCount: 3 + property int sectionsCount: 3 property ShaderDataArray sections: ShaderDataArray { ShaderData { property vector4d equation: clipPlane0.equation |