diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-08-15 05:59:28 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-09-02 01:08:42 +0200 |
commit | 653ace96c6974cd17ec27252dfdb17d8de40d4d9 (patch) | |
tree | 6b93e4ba282fdcdfdaae981096b67e871ac83bee /chart2/opengl/screenTextFragmentShader.glsl | |
parent | 4dbd58abb495f3e3dd008489f84f8380207127f3 (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/screenTextFragmentShader.glsl')
-rw-r--r-- | chart2/opengl/screenTextFragmentShader.glsl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/opengl/screenTextFragmentShader.glsl b/chart2/opengl/screenTextFragmentShader.glsl index 1354bf17a129..e1fb0784641b 100644 --- a/chart2/opengl/screenTextFragmentShader.glsl +++ b/chart2/opengl/screenTextFragmentShader.glsl @@ -7,6 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#version 130 + varying vec2 vTexCoord; uniform sampler2D TextTex; uniform vec4 textColor; |