Update crt-easymode-halation.slang

Fix compilation and 1 style nit.
This commit is contained in:
rz5 2016-08-11 17:04:51 +01:00 committed by GitHub
parent 9b3ce45199
commit 5d7574566f

View file

@ -104,7 +104,7 @@ float get_scanline_weight(float pos, float beam, float strength)
{
float weight = 1.0 - pow(cos(pos * 2.0 * PI) * 0.5 + 0.5, beam);
return weight * strength * 2.0 + (1.0 - strength);;
return weight * strength * 2.0 + (1.0 - strength);
}
vec2 curve_coordinate(vec2 co, float curvature)