Skip to content

Commit

Permalink
Fix possible uninitialized values
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jul 20, 2021
1 parent 136a544 commit 46fe2a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions font/FontRenderer.h
Expand Up @@ -72,6 +72,9 @@ class CFontBuilder
m_iFlags = FONT_NONE;
m_iBlur = m_iScanlineOffset = m_iOutlineSize = 0;
m_hForceHandle = -1;

m_fScanlineScale = 0.7f;
m_fBrighten = 1.0f;
}

CFontBuilder &SetBlurParams( int blur, float brighten = 1.0f )
Expand Down

0 comments on commit 46fe2a2

Please sign in to comment.