From be396b5c68624f873eae5cd50bcee1c96c87ff15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sun, 19 May 2019 08:26:41 +0200 Subject: [PATCH] Add comment --- s3l.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/s3l.h b/s3l.h index 57d939d..1907786 100644 --- a/s3l.h +++ b/s3l.h @@ -1111,7 +1111,9 @@ void _S3L_drawFilledTriangle( if (currentY >= 0) /* clipping of pixels whose y < 0 (can't be easily done outside the loop) */ - { + { /* TODO: ^ This is bad though, a single large + triangle outside he top of the screen will trigger + a long loop. Try to FIX THIS! */ p->y = currentY; // draw the horizontal line