Skip to content

Commit

Permalink
Make line coordinates signed in draw_line()
Browse files Browse the repository at this point in the history
  • Loading branch information
maximecb committed Oct 22, 2023
1 parent 0f3e71a commit 9b243c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ncc/include/uvm/graphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ void draw_line(
u32* fb,
u32 fb_width,
u32 fb_height,
u32 x0,
u32 y0,
u32 x1,
u32 y1,
i32 x0,
i32 y0,
i32 x1,
i32 y1,
u32 color
)
{
Expand Down

0 comments on commit 9b243c0

Please sign in to comment.