gl/colorconvert: choose the right alpha component for AYUV -> RGBA
This commit is contained in:
parent
0c92f185c4
commit
91717ca5c2
@ -181,7 +181,7 @@ static const char frag_AYUV_to_RGB[] =
|
||||
" r = dot(texel.gba, coeff1);\n"
|
||||
" g = dot(texel.gba, coeff2);\n"
|
||||
" b = dot(texel.gba, coeff3);\n"
|
||||
" a = texel.a;\n"
|
||||
" a = texel.r;\n"
|
||||
" gl_FragColor=vec4(%c,%c,%c,%c);\n"
|
||||
"}";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user