From 1f6789c909fde5b5142e14598df70c6bd1452e17 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Thu, 10 Aug 2023 02:07:27 +0200 Subject: [PATCH] Fix lower right borders not being filled by engine_rendertarget_fill --- src/helpers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helpers.c b/src/helpers.c index f6a58cb..4a16040 100644 --- a/src/helpers.c +++ b/src/helpers.c @@ -3,6 +3,7 @@ struct ENGINE_TEXTURE * engine_rendertarget_get() { } void engine_rendertarget_fill(int sx,int sy,int ex,int ey) { + ex += 1; ey += 1; int y = sy; while (y < ey) { int x = sx;