mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
renderer: fix missing dontRound check in renderSurface
fixes 3296
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user