summaryrefslogtreecommitdiff
path: root/chart2/opengl/backgroundVertexShader.glsl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-08-15 05:59:28 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-02 01:08:42 +0200
commit653ace96c6974cd17ec27252dfdb17d8de40d4d9 (patch)
tree6b93e4ba282fdcdfdaae981096b67e871ac83bee /chart2/opengl/backgroundVertexShader.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/backgroundVertexShader.glsl')
-rw-r--r--chart2/opengl/backgroundVertexShader.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/opengl/backgroundVertexShader.glsl b/chart2/opengl/backgroundVertexShader.glsl
index 6d9d6c21f3c9..239675cdfa09 100644
--- a/chart2/opengl/backgroundVertexShader.glsl
+++ b/chart2/opengl/backgroundVertexShader.glsl
@@ -7,6 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#version 130
+
attribute vec3 vPosition;
uniform mat4 MVP;
attribute vec4 vColor;