gl/colorconvert: choose the right alpha component for AYUV -> RGBA

This commit is contained in:
Matthew Waters 2014-05-11 14:02:34 +10:00 committed by Tim-Philipp Müller
parent 9fffa2cbc6
commit ae283ec9da

View file

@ -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"
"}";