summaryrefslogtreecommitdiff
path: root/chart2/opengl/debugVertexShader.glsl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-08-15 06:14:51 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-02 01:08:42 +0200
commitfbddfdecccb9411ec40bb9d89f6bf8ed86cd423f (patch)
treeac16a7f6f6a022bdc6c9187cd571643c494a7390 /chart2/opengl/debugVertexShader.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/debugVertexShader.glsl')
-rw-r--r--chart2/opengl/debugVertexShader.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/opengl/debugVertexShader.glsl b/chart2/opengl/debugVertexShader.glsl
index 622727f3c858..1768cc8b2750 100644
--- a/chart2/opengl/debugVertexShader.glsl
+++ b/chart2/opengl/debugVertexShader.glsl
@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#version 130
+#version 150 core
attribute vec3 vPosition;
uniform vec4 vColor;