CFont: Make PtsToFloat() internally linked
This is only ever used within the cpp file
This commit is contained in:
parent
1c292f5e2d
commit
4861f118fb
|
@ -13,7 +13,7 @@ CFont::CFont(CResourceEntry *pEntry) : CResource(pEntry)
|
|||
|
||||
CFont::~CFont() = default;
|
||||
|
||||
inline float PtsToFloat(int32 Pt)
|
||||
static constexpr float PtsToFloat(int32 Pt)
|
||||
{
|
||||
// This is a bit of an arbitrary number but it works
|
||||
// 1 / (1280 / 1.333333f / 2)
|
||||
|
|
Loading…
Reference in New Issue