mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- disabled redirection to the original patch for FSpecialFont.
Using the same code as for the standard font does not work as intended, the reason still needs to be investigated.
This commit is contained in:
parent
d1ca2a91f3
commit
e6e4f0f305
1 changed files with 1 additions and 1 deletions
|
@ -1552,13 +1552,13 @@ FSpecialFont::FSpecialFont (const char *name, int first, int count, FTexture **l
|
||||||
|
|
||||||
if (charlumps[i] != nullptr)
|
if (charlumps[i] != nullptr)
|
||||||
{
|
{
|
||||||
Chars[i].OriginalPic = charlumps[i];
|
|
||||||
if (!noTranslate)
|
if (!noTranslate)
|
||||||
{
|
{
|
||||||
Chars[i].TranslatedPic = new FImageTexture(new FFontChar1 (charlumps[i]->GetImage()), "");
|
Chars[i].TranslatedPic = new FImageTexture(new FFontChar1 (charlumps[i]->GetImage()), "");
|
||||||
TexMan.AddTexture(Chars[i].TranslatedPic);
|
TexMan.AddTexture(Chars[i].TranslatedPic);
|
||||||
}
|
}
|
||||||
else Chars[i].TranslatedPic = charlumps[i];
|
else Chars[i].TranslatedPic = charlumps[i];
|
||||||
|
Chars[i].OriginalPic = Chars[i].TranslatedPic;
|
||||||
Chars[i].XMove = Chars[i].OriginalPic->GetDisplayWidth();
|
Chars[i].XMove = Chars[i].OriginalPic->GetDisplayWidth();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue