path: root/chart2/opengl/backgroundVertexShader.glsl
diff options
authorMarkus Mohrhard <>2014-08-15 06:14:51 +0200
committerMarkus Mohrhard <>2014-09-02 01:08:42 +0200
commitfbddfdecccb9411ec40bb9d89f6bf8ed86cd423f (patch)
treeac16a7f6f6a022bdc6c9187cd571643c494a7390 /chart2/opengl/backgroundVertexShader.glsl
parent653ace96c6974cd17ec27252dfdb17d8de40d4d9 (diff)
we need to switch to OpenGL 3.2 core for OSX
A 3.2 core context only supports GLSL 150 core and above. This at least removes all vompile errors related to missing or wrong version requirements. In a next step we need to make use of modern GLSL features now. Change-Id: I59f1bc84ab4f64cc6520309b7da25adc3e116997
Diffstat (limited to 'chart2/opengl/backgroundVertexShader.glsl')
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/opengl/backgroundVertexShader.glsl b/chart2/opengl/backgroundVertexShader.glsl
index 239675cdfa09..3f2ae8efdf49 100644
--- a/chart2/opengl/backgroundVertexShader.glsl
+++ b/chart2/opengl/backgroundVertexShader.glsl
@@ -7,7 +7,7 @@
* file, You can obtain one at
-#version 130
+#version 150 core
attribute vec3 vPosition;
uniform mat4 MVP;