Skip to content

Commit adfabf9

Browse files
committed
Remove double clipping of coordinates
1 parent 8484da5 commit adfabf9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hagl_line.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void hagl_draw_line(
6565
err = (dx > dy ? dx : -dy) / 2;
6666

6767
while (1) {
68-
hagl_put_pixel(surface, x0, y0, color);
68+
surface->put_pixel((void *)_surface, x0, y0, color);
6969

7070
if (x0 == x1 && y0 == y1) {
7171
break;

0 commit comments

Comments
 (0)