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:
@@ -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];*/
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user