From: Mikko Rasa Date: Wed, 11 Apr 2018 21:11:20 +0000 (+0300) Subject: Add location specifiers to postprocess.glsl X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=75db32b9aa62dba642391fb072068f6032c22472;p=libs%2Fgl.git Add location specifiers to postprocess.glsl --- diff --git a/shaderlib/postprocess.glsl b/shaderlib/postprocess.glsl index 0e632037..c868bd11 100644 --- a/shaderlib/postprocess.glsl +++ b/shaderlib/postprocess.glsl @@ -1,7 +1,7 @@ uniform sampler2D source; #pragma MSP stage(vertex) -in vec4 vertex; +layout(location=0) in vec4 vertex; void main() { gl_Position = vertex; @@ -10,4 +10,4 @@ void main() } #pragma MSP stage(fragment) -out vec4 frag_color; +layout(location=0) out vec4 frag_color;