summaryrefslogtreecommitdiff
path: root/chart2/opengl/shape3DVertexShaderV300.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/opengl/shape3DVertexShaderV300.glsl')
-rw-r--r--chart2/opengl/shape3DVertexShaderV300.glsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/opengl/shape3DVertexShaderV300.glsl b/chart2/opengl/shape3DVertexShaderV300.glsl
index 947ee5fde602..c5072fd0b55e 100644
--- a/chart2/opengl/shape3DVertexShaderV300.glsl
+++ b/chart2/opengl/shape3DVertexShaderV300.glsl
@@ -9,11 +9,11 @@
#version 150 core
-attribute vec3 vertexPositionModelspace;
-attribute vec3 vertexNormalModelspace;
+in vec3 vertexPositionModelspace;
+in vec3 vertexNormalModelspace;
-varying vec3 positionWorldspace;
-varying vec3 normalCameraspace;
+out vec3 positionWorldspace;
+out vec3 normalCameraspace;
uniform mat4 P;
uniform mat4 M;