src/gui/screensaver.cpp: use showFrame() instead paintImage()

showFrame now seems to work fine inside screensaver
This commit is contained in:
2018-10-21 18:37:25 +02:00
parent 65bd775455
commit b902f870e6

View File

@@ -297,7 +297,7 @@ void CScreenSaver::paint()
} }
dprintf(DEBUG_INFO, "[CScreenSaver] %s - %d : %s\n", __func__, __LINE__, v_bg_files.at(index).c_str()); dprintf(DEBUG_INFO, "[CScreenSaver] %s - %d : %s\n", __func__, __LINE__, v_bg_files.at(index).c_str());
paintImage(v_bg_files.at(index), 0, 0, m_frameBuffer->getScreenWidth(true), m_frameBuffer->getScreenHeight(true)); m_frameBuffer->showFrame(v_bg_files.at(index));
if (!g_settings.screensaver_random) if (!g_settings.screensaver_random)
index++; index++;