mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 01:46:00 +01:00
renderer: fix missing dontRound check in renderSurface
fixes 3296
This commit is contained in:
parent
9f68aa33ea
commit
3b1e09e5a1
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ void renderSurface(struct wlr_surface* surface, int x, int y, void* data) {
|
||||||
|
|
||||||
rounding -= 1; // to fix a border issue
|
rounding -= 1; // to fix a border issue
|
||||||
|
|
||||||
|
if (RDATA->dontRound)
|
||||||
|
rounding = 0;
|
||||||
|
|
||||||
const bool CANDISABLEBLEND = RDATA->alpha >= 1.f && rounding == 0 && surface->opaque;
|
const bool CANDISABLEBLEND = RDATA->alpha >= 1.f && rounding == 0 && surface->opaque;
|
||||||
|
|
||||||
if (CANDISABLEBLEND)
|
if (CANDISABLEBLEND)
|
||||||
|
|
Loading…
Reference in a new issue