summaryrefslogtreecommitdiffstats
path: root/src/render/Font.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-22 17:47:14 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-22 17:47:14 +0100
commit861506d048b7c4370f066e62233448979824bd68 (patch)
treecaa435843c73aab13174a3b63bfb6dd759a9df73 /src/render/Font.cpp
parentmissing endlines (diff)
parentRemove all constexpr (diff)
downloadre3-861506d048b7c4370f066e62233448979824bd68.tar
re3-861506d048b7c4370f066e62233448979824bd68.tar.gz
re3-861506d048b7c4370f066e62233448979824bd68.tar.bz2
re3-861506d048b7c4370f066e62233448979824bd68.tar.lz
re3-861506d048b7c4370f066e62233448979824bd68.tar.xz
re3-861506d048b7c4370f066e62233448979824bd68.tar.zst
re3-861506d048b7c4370f066e62233448979824bd68.zip
Diffstat (limited to 'src/render/Font.cpp')
-rw-r--r--src/render/Font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp
index 2d059516..7a16ad03 100644
--- a/src/render/Font.cpp
+++ b/src/render/Font.cpp
@@ -84,7 +84,7 @@ CFont::Initialise(void)
Sprite[2].SetTexture("font1", "font1_mask");
SetScale(1.0f, 1.0f);
SetSlantRefPoint(SCREEN_WIDTH, 0.0f);
- SetSlant(0.0);
+ SetSlant(0.0f);
SetColor(CRGBA(0xFF, 0xFF, 0xFF, 0));
SetJustifyOff();
SetCentreOff();
@@ -95,7 +95,7 @@ CFont::Initialise(void)
SetBackGroundOnlyTextOff();
SetPropOn();
SetFontStyle(0);
- SetRightJustifyWrap(0.0);
+ SetRightJustifyWrap(0.0f);
SetAlphaFade(255.0f);
SetDropShadowPosition(0);
CTxdStore::PopCurrentTxd();