From 249c5e0f211bbdcbffda91a446dedd33c314ee64 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 15 Aug 2014 06:26:02 +0200 Subject: replace all attribute and varying in chart shaders Next step to a pure OpenGL 3.2 core context. Change-Id: Ifcfccd9ffc8adcc3b7338e10cb25aeb8496909a3 --- chart2/opengl/textVertexShader.glsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chart2/opengl/textVertexShader.glsl') diff --git a/chart2/opengl/textVertexShader.glsl b/chart2/opengl/textVertexShader.glsl index 3f14ab96800c..351da30b5f79 100644 --- a/chart2/opengl/textVertexShader.glsl +++ b/chart2/opengl/textVertexShader.glsl @@ -9,10 +9,10 @@ #version 150 core -attribute vec3 vPosition; +in vec3 vPosition; uniform mat4 MVP; -attribute vec2 texCoord; -varying vec2 vTexCoord; +in vec2 texCoord; +out vec2 vTexCoord; void main() { gl_Position = MVP * vec4(vPosition, 1); -- cgit v1.2.3