summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-08-15 06:39:38 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-02 01:08:43 +0200
commit006844a15fbdc4ee5ee09d18dce193d6f62d0bce (patch)
tree7406b3df92d59108df40d8f7af3d215d031cba27 /chart2
parent8d61b3feee74263aff32e471f8d4230a74353ad5 (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')
-rw-r--r--chart2/opengl/pickingFragmentShader.glsl3
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: */