LibGfx: Remove an unnecessary FIXME

Clipping in diagonal line drawing has already been implemented a long
time ago.
This commit is contained in:
Arda Cinar 2023-01-12 14:59:17 +03:00 committed by Jelle Raaijmakers
parent c8d7bf5449
commit 9418586990
Notes: sideshowbarker 2024-07-17 02:39:10 +09:00

View file

@ -2026,7 +2026,6 @@ void Painter::draw_line(IntPoint a_p1, IntPoint a_p2, Color color, int thickness
swap(point1, point2);
}
// FIXME: Implement clipping below.
int const dx = point2.x() - point1.x();
int const dy = point2.y() - point1.y();
int error = 0;