2d-primitives: fix missing pixel in gu_draw_line()
When drawing line from (x1, y1) to (x2, y2), pixel at (x2, y2) should
be included.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Tested-by: Chris Healy <[1]cphealy@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b258642 commit 8973abf57a5302d1dd7c62331d9c20c233fb6638
@Nikita Yushchenko Nikita Yushchenko authored on 12 Oct 2017
Sascha Hauer committed on 16 Oct 2017
Showing 1 changed file
View
lib/gui/2d-primitives.c