mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Fix AMD crash issue in inversecolors.fsh
This commit is contained in:
1 parent
4e4b49ce70
commit
ddf5b30f4e
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user