path: root/chart2/opengl/shape3DVertexShaderV300.glsl
diff options
authorMarkus Mohrhard <>2014-08-15 05:59:28 +0200
committerMarkus Mohrhard <>2014-09-02 01:08:42 +0200
commit653ace96c6974cd17ec27252dfdb17d8de40d4d9 (patch)
tree6b93e4ba282fdcdfdaae981096b67e871ac83bee /chart2/opengl/shape3DVertexShaderV300.glsl
parent4dbd58abb495f3e3dd008489f84f8380207127f3 (diff)
make sure that all shaders contain a version string
This is necessary for OSX where we are using a core context that does not implement any legacy features anymore. Change-Id: I59536e99761691d910fef62cf82ceb03e57725ae
Diffstat (limited to 'chart2/opengl/shape3DVertexShaderV300.glsl')
1 files changed, 3 insertions, 0 deletions
diff --git a/chart2/opengl/shape3DVertexShaderV300.glsl b/chart2/opengl/shape3DVertexShaderV300.glsl
index a8da294fb3cd..b28d9cce3203 100644
--- a/chart2/opengl/shape3DVertexShaderV300.glsl
+++ b/chart2/opengl/shape3DVertexShaderV300.glsl
@@ -6,6 +6,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at
+#version 130
attribute vec3 vertexPositionModelspace;
attribute vec3 vertexNormalModelspace;