error in setting the alpha value when drawing text into a char buffer.

Would only show the errors with sequencer rendering with the stamp option enabled, since blenders rendering uses a float buffer.
This commit is contained in:
Campbell Barton 2009-07-14 15:08:07 +00:00
parent 1f3756d7f6
commit 3f154c1482

@ -275,7 +275,7 @@ void BMF_BitmapFont::DrawStringBuf(char *str, int posx, int posy, float *col, un
pixel[1] = colch[1];
pixel[2] = colch[2];
if (channels==4) {
pixel[4] = 1; /*colch[3];*/
pixel[3] = 1; /*colch[3];*/
}
}