mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-11 04:51:13 +00:00
- fixed: The color for untranslated font was missing its alpha channel.
This commit is contained in:
parent
163b10286f
commit
aa8424982c
1 changed files with 1 additions and 0 deletions
|
@ -766,6 +766,7 @@ FRemapTable *FFont::GetColorTranslation (EColorRange range, PalEntry *color) con
|
||||||
if (range >= 0 && range < NumTextColors && range != CR_UNTRANSLATED)
|
if (range >= 0 && range < NumTextColors && range != CR_UNTRANSLATED)
|
||||||
{
|
{
|
||||||
retcolor = TranslationColors[range];
|
retcolor = TranslationColors[range];
|
||||||
|
retcolor.a = 255;
|
||||||
}
|
}
|
||||||
if (color != nullptr) *color = retcolor;
|
if (color != nullptr) *color = retcolor;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue