forked from bartvdbraak/blender
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:
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[1] = colch[1];
|
||||||
pixel[2] = colch[2];
|
pixel[2] = colch[2];
|
||||||
if (channels==4) {
|
if (channels==4) {
|
||||||
pixel[4] = 1; /*colch[3];*/
|
pixel[3] = 1; /*colch[3];*/
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user