mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 12:05: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) {
|
if (mTextCache) {
|
||||||
std::shared_ptr<Font> font = getFont();
|
std::shared_ptr<Font> font = getFont();
|
||||||
float referenceSize;
|
float referenceSize{0.0f};
|
||||||
|
|
||||||
if (mAlignRight)
|
if (mAlignRight)
|
||||||
referenceSize = std::round(mParent->getSize().x * 0.1045f);
|
referenceSize = std::round(mParent->getSize().x * 0.1045f);
|
||||||
|
|
Loading…
Reference in a new issue