Fixed a Clang compiler warning.

This commit is contained in:
Leon Styhre 2023-02-12 22:19:41 +01:00
parent 7f70196f65
commit 8242fe1345

View file

@ -304,7 +304,6 @@ GuiCollectionSystemsOptions::GuiCollectionSystemsOptions(std::string title)
row.addElement(customCollection, true);
ss->addRow(row);
}
glm::vec2 menuSize {ss->getMenuSize()};
glm::vec3 menuPos {ss->getMenuPosition()};
menuPos.x = (mRenderer->getScreenWidth() - ss->getMenuSize().x) / 2.0f;
ss->setMenuPosition(menuPos);