renderer: fix missing dontRound check in renderSurface

fixes 3296
This commit is contained in:
vaxerski 2023-09-23 00:06:48 +01:00
parent 9f68aa33ea
commit 3b1e09e5a1

View File

@ -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)