Fix T45104: RGBA PNG Stereo 3d Anaglyph renders turn all shades of black into alpha in 2.75 RC1

This commit is contained in:
Dalai Felinto
2015-06-18 13:56:11 -03:00
parent e1fd7b9ca9
commit a1e01fda24

View File

@@ -117,7 +117,7 @@ static void imb_stereo3d_write_anaglyph(Stereo3DData *s3d, enum eStereo3dAnaglyp
to[0] = from[r][0];
to[1] = from[g][1];
to[2] = from[b][2];
to[3] = MAX2(from[0][2], from[0][2]);
to[3] = MAX2(from[0][3], from[0][3]);
}
}
}
@@ -154,7 +154,7 @@ static void imb_stereo3d_write_anaglyph(Stereo3DData *s3d, enum eStereo3dAnaglyp
to[0] = from[r][0];
to[1] = from[g][1];
to[2] = from[b][2];
to[3] = MAX2(from[0][2], from[0][2]);
to[3] = MAX2(from[0][3], from[0][3]);
}
}
}