- implemented the status bar's DrawString function and ported the fullscreen HUD part of the Strife status bar to use the new functionality.

This commit is contained in:
Christoph Oelckers 2017-03-24 20:07:22 +01:00
commit 6760e01a0d
5 changed files with 425 additions and 230 deletions

View file

@ -490,7 +490,7 @@ FMaterial::FMaterial(FTexture * tx, bool expanded)
mSpriteU[1] = mSpriteV[1] = 1.f;
FTexture *basetex = (tx->bWarped && gl.legacyMode)? tx : tx->GetRedirect(false);
// allow the redirect only if the textute is not expanded or the scale matches.
// allow the redirect only if the texture is not expanded or the scale matches.
if (!expanded || (tx->Scale.X == basetex->Scale.X && tx->Scale.Y == basetex->Scale.Y))
{
mBaseLayer = ValidateSysTexture(basetex, expanded);