summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/clip-planes-qml/phong-clip.vert
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/clip-planes-qml/phong-clip.vert')
-rw-r--r--examples/qt3d/clip-planes-qml/phong-clip.vert2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/qt3d/clip-planes-qml/phong-clip.vert b/examples/qt3d/clip-planes-qml/phong-clip.vert
index 95b83bf75..29955bb3d 100644
--- a/examples/qt3d/clip-planes-qml/phong-clip.vert
+++ b/examples/qt3d/clip-planes-qml/phong-clip.vert
@@ -8,6 +8,8 @@ out VertexData {
vec3 normal;
} v_out;
+out float gl_ClipDistance[8];
+
struct Section {
vec4 equation;
vec3 center;