renderer: pass proper arg to main param of uv calcs

was fucking up some non-fitting subsurfaces
This commit is contained in:
Vaxry 2023-11-12 22:59:19 +00:00
parent 45e86d4fdf
commit 824ccd957b

View file

@ -66,7 +66,7 @@ void renderSurface(struct wlr_surface* surface, int x, int y, void* data) {
if (windowBox.width <= 1 || windowBox.height <= 1) if (windowBox.width <= 1 || windowBox.height <= 1)
return; // invisible 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.scale(RDATA->pMonitor->scale);
windowBox.round(); windowBox.round();