fix m_bColored uninitialized when BitmapText::LoadFromTextureAndChars
is used
This commit is contained in:
@@ -71,6 +71,7 @@ BitmapText::BitmapText()
|
||||
m_pFont = NULL;
|
||||
|
||||
m_bRainbow = false;
|
||||
m_bColored = false;
|
||||
|
||||
m_iWrapWidthPixels = -1;
|
||||
m_fMaxWidth = 0;
|
||||
@@ -145,8 +146,6 @@ bool BitmapText::LoadFromFont( const CString& sFontFilePath )
|
||||
|
||||
BuildChars();
|
||||
|
||||
m_bColored = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user