diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-08-15 06:39:38 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-09-02 01:08:43 +0200 |
commit | 006844a15fbdc4ee5ee09d18dce193d6f62d0bce (patch) | |
tree | 7406b3df92d59108df40d8f7af3d215d031cba27 /chart2/opengl | |
parent | 8d61b3feee74263aff32e471f8d4230a74353ad5 (diff) |
fix my last core shader error
Now all shaders compile cleanly against a core context without
deprecated functions.
Change-Id: I53c1fe04e07247f94ad5e3a17819cebea0a9f535
Diffstat (limited to 'chart2/opengl')
-rw-r--r-- | chart2/opengl/pickingFragmentShader.glsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/opengl/pickingFragmentShader.glsl b/chart2/opengl/pickingFragmentShader.glsl index d9e06a6ea015..6262216a6d77 100644 --- a/chart2/opengl/pickingFragmentShader.glsl +++ b/chart2/opengl/pickingFragmentShader.glsl @@ -12,12 +12,13 @@ uniform float minCoordX; in vec3 positionWorldspace; in vec4 fragmentColor; +out vec4 actualColor; void main() { if (positionWorldspace.x <= minCoordX) discard; - gl_FragColor = fragmentColor; + actualColor = fragmentColor; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |