diff options
author | Vaxry <[email protected]> | 2023-11-12 22:59:19 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2023-11-12 22:59:19 +0000 |
commit | 824ccd957b422e010d1c0d55961ed98386bb19b6 (patch) | |
tree | e42ce079f54b7a14691a932e618f1f1349b79eef | |
parent | 45e86d4fdf425452a39010de582081c466657045 (diff) | |
download | Hyprland-824ccd957b422e010d1c0d55961ed98386bb19b6.tar.gz Hyprland-824ccd957b422e010d1c0d55961ed98386bb19b6.zip |
renderer: pass proper arg to main param of uv calcs
was fucking up some non-fitting subsurfaces
-rw-r--r-- | src/render/Renderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 65aa7138..ad3046e3 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -66,7 +66,7 @@ void renderSurface(struct wlr_surface* surface, int x, int y, void* data) { if (windowBox.width <= 1 || windowBox.height <= 1) return; // invisible - g_pHyprRenderer->calculateUVForSurface(RDATA->pWindow, surface, RDATA->squishOversized); + g_pHyprRenderer->calculateUVForSurface(RDATA->pWindow, surface, RDATA->surface == surface); windowBox.scale(RDATA->pMonitor->scale); windowBox.round(); |