mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-11-29 12:31:58 +03:00
renderer: fix missing dontRound check in renderSurface
fixes 3296
This commit is contained in:
parent
9f68aa33ea
commit
3b1e09e5a1
@ -42,6 +42,9 @@ void renderSurface(struct wlr_surface* surface, int x, int y, void* data) {
|
||||
|
||||
rounding -= 1; // to fix a border issue
|
||||
|
||||
if (RDATA->dontRound)
|
||||
rounding = 0;
|
||||
|
||||
const bool CANDISABLEBLEND = RDATA->alpha >= 1.f && rounding == 0 && surface->opaque;
|
||||
|
||||
if (CANDISABLEBLEND)
|
||||
|
Loading…
Reference in New Issue
Block a user