- fixed drawing of a single character

This fixes missing console prompt and cursor
This commit is contained in:
alexey.lysiuk 2020-02-02 15:00:51 +02:00
parent d0c58b8e64
commit b70796db4c
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ void DrawChar (F2DDrawer* drawer, FFont *font, int normalcolor, double x, double
{
return;
}
PalEntry color ;
PalEntry color = 0xffffffff;
parms.remap = font->GetColorTranslation((EColorRange)normalcolor, &color);
parms.color = PalEntry((color.a * parms.color.a) / 255, (color.r * parms.color.r) / 255, (color.g * parms.color.g) / 255, (color.b * parms.color.b) / 255);
drawer->AddTexture(pic, parms);