mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-31 22:01:57 +00:00
Fix AMD crash issue in inversecolors.fsh
This commit is contained in:
parent
4e4b49ce70
commit
ddf5b30f4e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user