mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 04:01:56 -07:00
renderer: pass proper arg to main param of uv calcs
was fucking up some non-fitting subsurfaces
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user