From 6e37355ed2771e42942fc9fcd3556b9f4fd97743 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 28 Aug 2018 15:10:23 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3306 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- generator/pamtris/triangle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'generator') diff --git a/generator/pamtris/triangle.c b/generator/pamtris/triangle.c index d5d249c0..f6a9aef5 100644 --- a/generator/pamtris/triangle.c +++ b/generator/pamtris/triangle.c @@ -256,9 +256,7 @@ draw_triangle(Xy const xy_input, gen_triangle_boundaries(xy_sorted, bi, fbi->width, fbi->height); if (bi->start_scanline == -1) { - /* Triangle completely out of the bounds of the framebuffer. */ - - return; + /* Triangle is completely out of the bounds of the framebuffer. */ } else { bool no_upper_part = (xy_sorted._[1][1] == xy_sorted._[0][1]); -- cgit 1.4.1