Fixed an issue where the launch screen would contain text rendering artifacts.

This commit is contained in:
Leon Styhre 2021-12-08 19:58:50 +01:00
parent 80555eb7a3
commit de45f3d298

View file

@ -223,8 +223,7 @@ void GuiLaunchScreen::update(int deltaTime)
void GuiLaunchScreen::render(const glm::mat4& /*parentTrans*/)
{
// Scale up animation.
if (mScaleUp < 1.0f)
setScale(mScaleUp);
setScale(mScaleUp);
glm::mat4 trans{Renderer::getIdentity() * getTransform()};
Renderer::setMatrix(trans);