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/textFragmentShader.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/textFragmentShader.glsl')
-rw-r--r-- | chart2/opengl/textFragmentShader.glsl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/opengl/textFragmentShader.glsl b/chart2/opengl/textFragmentShader.glsl index c1d44bc56f63..80ae00ac6f02 100644 --- a/chart2/opengl/textFragmentShader.glsl +++ b/chart2/opengl/textFragmentShader.glsl @@ -7,6 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#version 130 + uniform sampler2D TextTex; varying vec2 vTexCoord; void main() |