Fix T40903: Rendering: Alpha Channel is Broken

This commit is contained in:
Sergey Sharybin 2014-07-01 22:11:44 +06:00
parent 6c6fa749f6
commit ecc2e298e8

@ -207,7 +207,12 @@ void RenderLayersAlphaProg::executePixelSampled(float output[4], float x, float
zero_v4(output); zero_v4(output);
} }
else { else {
doInterpolation(output, x, y, sampler); float temp[4];
doInterpolation(temp, x, y, sampler);
output[0] = temp[3];
output[1] = 0.0f;
output[2] = 0.0f;
output[3] = 0.0f;
} }
} }