summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/clip-planes-qml/phong-clip.vert
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2015-08-12 12:21:42 -0700
committerSean Harmer <sean.harmer@kdab.com>2015-08-31 07:56:33 +0000
commit4ccb954b1c6da94fd4819b933ba331568d5c7bb5 (patch)
tree4f3c5d936dc2d6b9f862d255b1968097b0d4ebc5 /examples/qt3d/clip-planes-qml/phong-clip.vert
parentc3d4455b6477d9815e90ef16b176b746a5699ff0 (diff)
Fix clip-plane-qml on OS X and small tidy up
Change-Id: Ib1e6159a5fb44bfc167c63776bb878c73d043796 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
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;