Skip to content

Commit

Permalink
Fix for drawing circles with parts outside of screen
Browse files Browse the repository at this point in the history
  • Loading branch information
chregu82 committed Aug 14, 2020
1 parent 21d3545 commit 6c5aa80
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
Binary file modified bin/kernel.img
Binary file not shown.
Binary file modified bin/kernel7.img
Binary file not shown.
Binary file modified bin/kernel8-32.img
Binary file not shown.
Binary file modified bin/recovery7l.img
Binary file not shown.
2 changes: 1 addition & 1 deletion src/gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ void gfx_draw_hor_line(int x0, int y0, unsigned int width)
}
if (x0+width >= ctx.W)
{
width-=ctx.W-x0;
width = ctx.W-x0-1;
}

unsigned int i;
Expand Down

0 comments on commit 6c5aa80

Please sign in to comment.