From: Mikko Rasa Date: Fri, 5 Mar 2021 23:04:58 +0000 (+0200) Subject: Fix a type error in a test case X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=ac689e9d6e85b0e2d3980e25513af06dff5844cc Fix a type error in a test case --- diff --git a/tests/glsl/expression_inline_iteration.glsl b/tests/glsl/expression_inline_iteration.glsl index 20136ca4..3ad81bc8 100644 --- a/tests/glsl/expression_inline_iteration.glsl +++ b/tests/glsl/expression_inline_iteration.glsl @@ -3,7 +3,7 @@ layout(location=0) in vec4 position; layout(location=1) in vec3 direction; void main() { - vec4 p = position.xyz; + vec3 p = position.xyz; int step = -1; for(int i=0; i<10; ++i) { @@ -21,7 +21,7 @@ layout(location=0) in vec4 position; layout(location=1) in vec3 direction; void main() { - vec4 p = position.xyz; + vec3 p = position.xyz; int step = -1; for(int i=0; i<10; ++i) {