mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Fixed a GCC compiler warning.
This commit is contained in:
parent
a794c717b6
commit
f5ff480fc4
|
@ -170,7 +170,7 @@ void DateTimeEditComponent::render(const glm::mat4& parentTrans)
|
|||
|
||||
if (mTextCache) {
|
||||
std::shared_ptr<Font> font = getFont();
|
||||
float referenceSize;
|
||||
float referenceSize{0.0f};
|
||||
|
||||
if (mAlignRight)
|
||||
referenceSize = std::round(mParent->getSize().x * 0.1045f);
|
||||
|
|
Loading…
Reference in a new issue