Subject: [PATCH] fix incorrect assignment of float to vec4 --- tests/shaders/glsl-max-vertex-attrib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/shaders/glsl-max-vertex-attrib.c b/tests/shaders/glsl-max-vertex-attrib.c index c0b582eb4..ff60f95b7 100644 --- a/tests/shaders/glsl-max-vertex-attrib.c +++ b/tests/shaders/glsl-max-vertex-attrib.c @@ -56,7 +56,7 @@ static const char *vShaderString = "attribute float pos;\n" "void main()\n" "{\n" - " gl_Position = pos;\n" + " gl_Position = vec4(pos, 0.0, 0.0, 1.0);\n" "}\n"; static const char *fShaderString = -- 2.14.1