mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Eliminated unnecessary rendering when the video or slideshow screensaver is running.
This commit is contained in:
parent
50e74595e4
commit
401d433be0
|
@ -308,7 +308,12 @@ void Window::render()
|
|||
bottom->stopAllAnimations();
|
||||
}
|
||||
|
||||
// Don't render the system view or gamelist view if the video or slideshow screensaver
|
||||
// is running.
|
||||
if (!(mRenderScreensaver && (Settings::getInstance()->getString("ScreensaverType") ==
|
||||
"video" || Settings::getInstance()->getString("ScreensaverType") == "slideshow")))
|
||||
bottom->render(transform);
|
||||
|
||||
if (bottom != top) {
|
||||
#if defined(USE_OPENGL_21)
|
||||
if (!mCachedBackground) {
|
||||
|
|
Loading…
Reference in a new issue