summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/compute-particles/ComputeFrameGraph.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/compute-particles/ComputeFrameGraph.qml')
-rw-r--r--examples/qt3d/compute-particles/ComputeFrameGraph.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/compute-particles/ComputeFrameGraph.qml b/examples/qt3d/compute-particles/ComputeFrameGraph.qml
index 902d8ef74..1a07f7544 100644
--- a/examples/qt3d/compute-particles/ComputeFrameGraph.qml
+++ b/examples/qt3d/compute-particles/ComputeFrameGraph.qml
@@ -49,7 +49,7 @@
****************************************************************************/
import Qt3D.Core 2.0
-import Qt3D.Render 2.0
+import Qt3D.Render 2.9
Viewport {
property alias camera: selector.camera
@@ -77,7 +77,7 @@ Viewport {
CameraSelector {
id: selector
TechniqueFilter {
- MemoryBarrier { barrierTypes: MemoryBarrier.VertexAttributeArrayBarrier }
+ MemoryBarrier { waitFor: MemoryBarrier.VertexAttributeArray }
matchAll: [
FilterKey { name: "type"; value: "draw"}
]