diff --git a/es-app/src/Screensaver.cpp b/es-app/src/Screensaver.cpp index bbbf9f09f..5111d87d1 100644 --- a/es-app/src/Screensaver.cpp +++ b/es-app/src/Screensaver.cpp @@ -284,14 +284,11 @@ void Screensaver::renderScreensaver() if (static_cast(mState) >= STATE_FADE_IN_VIDEO) { if (mImageScreensaver->hasImage()) { mImageScreensaver->setOpacity(1.0f - mOpacity); - glm::mat4 trans {Renderer::getIdentity()}; mImageScreensaver->render(trans); } } } - mRenderer->setMatrix(trans); - if (isScreensaverActive()) { if (mScreensaverType == "slideshow") { if (mHasMediaFiles) { @@ -299,6 +296,7 @@ void Screensaver::renderScreensaver() mRenderer->shaderPostprocessing(Renderer::Shader::SCANLINES); if (Settings::getInstance()->getBool("ScreensaverSlideshowGameInfo") && mGameOverlay) { + mRenderer->setMatrix(mRenderer->getIdentity()); if (mGameOverlayRectangleCoords.size() == 4) { mRenderer->drawRect( mGameOverlayRectangleCoords[0], mGameOverlayRectangleCoords[1], @@ -350,6 +348,7 @@ void Screensaver::renderScreensaver() mRenderer->shaderPostprocessing(shaders, videoParameters); if (Settings::getInstance()->getBool("ScreensaverVideoGameInfo") && mGameOverlay) { + mRenderer->setMatrix(mRenderer->getIdentity()); if (mGameOverlayRectangleCoords.size() == 4) { mRenderer->drawRect( mGameOverlayRectangleCoords[0], mGameOverlayRectangleCoords[1],