1 parent 52a34d7 commit 09cdb81Copy full SHA for 09cdb81
1 file changed
src/hagl_vline.c
@@ -52,7 +52,7 @@ void hagl_draw_vline_xyh(
52
53
/* y0 is top of clip window, ignore start part. */
54
if (y0 < surface->clip.y0) {
55
- height = height + y0;
+ height = height - (surface->clip.y0 - y0);
56
y0 = surface->clip.y0;
57
}
58
0 commit comments