mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-06 05:06:08 +00:00
CFont: Prevent Wmaybe-uninitialized warning
This commit is contained in:
parent
4861f118fb
commit
84184da66d
@ -130,7 +130,7 @@ CVector2f CFont::RenderString(const TString& rkString, CRenderer* /*pRenderer*/,
|
|||||||
// Draw stroke
|
// Draw stroke
|
||||||
if (mTextureFormat == 1 || mTextureFormat == 3 || mTextureFormat == 8)
|
if (mTextureFormat == 1 || mTextureFormat == 3 || mTextureFormat == 8)
|
||||||
{
|
{
|
||||||
uint8 StrokeLayer;
|
uint8 StrokeLayer = 0;
|
||||||
if (mTextureFormat == 1)
|
if (mTextureFormat == 1)
|
||||||
StrokeLayer = 1;
|
StrokeLayer = 1;
|
||||||
else if (mTextureFormat == 3)
|
else if (mTextureFormat == 3)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user