summaryrefslogtreecommitdiff
path: root/chart2/opengl/backgroundVertexShader.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/opengl/backgroundVertexShader.glsl')
-rw-r--r--chart2/opengl/backgroundVertexShader.glsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/opengl/backgroundVertexShader.glsl b/chart2/opengl/backgroundVertexShader.glsl
index 3f2ae8efdf49..bf7937cafffd 100644
--- a/chart2/opengl/backgroundVertexShader.glsl
+++ b/chart2/opengl/backgroundVertexShader.glsl
@@ -9,10 +9,10 @@
#version 150 core
-attribute vec3 vPosition;
+in vec3 vPosition;
uniform mat4 MVP;
-attribute vec4 vColor;
-varying vec4 fragmentColor;
+in vec4 vColor;
+out vec4 fragmentColor;
void main()
{