mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
~ fixed backgrounds not rendering in the proper positions under some specific configurations
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
parent
9ff5330a39
commit
0aefcbe1a0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user