mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:45:59 +01:00
renderer: pass proper arg to main param of uv calcs
was fucking up some non-fitting subsurfaces
This commit is contained in:
parent
45e86d4fdf
commit
824ccd957b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue