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/pickingFragmentShader.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/pickingFragmentShader.glsl')
-rw-r--r-- | chart2/opengl/pickingFragmentShader.glsl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chart2/opengl/pickingFragmentShader.glsl b/chart2/opengl/pickingFragmentShader.glsl index e2fba0391442..9d3b7bb71550 100644 --- a/chart2/opengl/pickingFragmentShader.glsl +++ b/chart2/opengl/pickingFragmentShader.glsl @@ -6,6 +6,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#version 130 + uniform float minCoordX; varying vec3 positionWorldspace; varying vec4 fragmentColor; |