From 93a30ec5dd65df6f91e028e68f18d6a7965240da Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 10 Dec 2015 01:28:03 +0300 Subject: Add support for mobileopengl2 backend (still copy from modern opengl). --- src/gui/widgets/desktop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/desktop.cpp') diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp index 9fdc11a61..27fb7dff3 100644 --- a/src/gui/widgets/desktop.cpp +++ b/src/gui/widgets/desktop.cpp @@ -183,8 +183,8 @@ void Desktop::setBestFittingWallpaper() const int height = rect.height; if (imageHelper->useOpenGL() == RENDER_SOFTWARE && - (nWallPaper->getWidth() != width - || nWallPaper->getHeight() != height)) + (nWallPaper->getWidth() != width || + nWallPaper->getHeight() != height)) { // We rescale to obtain a fullscreen wallpaper... Image *const newRsclWlPpr = resourceManager->getRescaled( -- cgit v1.2.3-70-g09d2