HACK: colors fix. This should not be here, but I could not find better place to fix it. Contributes to OMP#OS-975
This commit is contained in:
@@ -18,5 +18,6 @@ void main()
|
|||||||
mediump float Cr = texture2D(yuvTexture, qt_TexCoord).b;
|
mediump float Cr = texture2D(yuvTexture, qt_TexCoord).b;
|
||||||
|
|
||||||
mediump vec4 color = vec4(Y, Cb, Cr, 1.0);
|
mediump vec4 color = vec4(Y, Cb, Cr, 1.0);
|
||||||
gl_FragColor = colorMatrix * color * opacity;
|
mediump vec4 sw = colorMatrix * color * opacity;
|
||||||
|
gl_FragColor = vec4(sw.g, sw.b, sw.r, sw.a);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user