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;