colorblindesscorrection: fix incorrect variable name in shader program

Signed-off-by: Jie Liu <liujie01@kylinos.cn>
This commit is contained in:
Jie Liu 2024-08-19 21:54:50 +08:00 committed by Vlad Zahorodnii
parent 0eba9e631e
commit 8233bb9de5

View file

@ -27,7 +27,7 @@ void main()
tex = adjustSaturation(tex);
vec3 LMS = srgbToLMS * tex.rgb;
vec3 lms = defectMatrix * lms;
vec3 lms = defectMatrix * LMS;
vec3 error = errorMat * lms;
vec3 diff = (tex.rgb - error) * vec3(intensity);