X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Farithmetic_assignment.glsl;h=d6c48ad89152909634f027c413ac1238fc4c3a27;hb=4942472d6429a52ac1f03fbaffd57d011624c54a;hp=adb2a0cbc99493c46738453c333a8b60ba3c3ac6;hpb=f639d088c478fe5d266f9f5779928735b5176976;p=libs%2Fgl.git diff --git a/tests/glsl/arithmetic_assignment.glsl b/tests/glsl/arithmetic_assignment.glsl index adb2a0cb..d6c48ad8 100644 --- a/tests/glsl/arithmetic_assignment.glsl +++ b/tests/glsl/arithmetic_assignment.glsl @@ -18,7 +18,7 @@ void main() out vec4 frag_color; void main() { - vec3 color = texture(tex, texcoord); + vec3 color = texture(tex, texcoord).rgb; color *= tint; color *= light; color += ambient; @@ -49,7 +49,7 @@ in vec2 _vs_out_texcoord; in float light; void main() { - vec3 color = texture(tex, _vs_out_texcoord); + vec3 color = texture(tex, _vs_out_texcoord).rgb; color *= tint; color *= light; color += ambient;