Fix AMD crash issue in inversecolors.fsh

This commit is contained in:
danyalzia committed 2013-10-12 12:04:53 +05:00
1 parent 4e4b49ce70
commit ddf5b30f4e
1 file changed
+1 -1
+1 -1
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;
}