Fix AMD crash issue in inversecolors.fsh

This commit is contained in:
danyalzia 2013-10-12 12:04:53 +05:00
parent 4e4b49ce70
commit ddf5b30f4e

View File

@ -14,6 +14,6 @@ void main() {
vec3 gray = vec3(luma, luma, luma) - 0.5;
rgb -= vec3(0.5, 0.5, 0.5);
gl_FragColor.rgb = saturate(mix(rgb, gray, 2.0) + 0.5);
gl_FragColor.rgb = mix(rgb, gray, 2.0) + 0.5;
gl_FragColor.a = 1.0;
}