Forráskód Böngészése

~ fixed backgrounds not rendering in the proper positions under some specific configurations

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Alexis Maiquez 4 éve
szülő
commit
0aefcbe1a0
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/WallpaperEngine/Render/CContext.cpp

+ 1 - 1
src/WallpaperEngine/Render/CContext.cpp

@@ -70,7 +70,7 @@ void CContext::initializeViewports ()
                 std::cout << "Found requested screen: " << info->name << " -> " << crtc->x << "x" << crtc->y << ":" << crtc->width << "x" << crtc->height << std::endl;
 
                 glm::ivec4 viewport = {
-                    crtc->x, fullHeight - (crtc->y + crtc->height), crtc->width, crtc->height
+                    crtc->x, crtc->y, crtc->width, crtc->height
                 };
 
                 this->m_viewports.push_back (viewport);