diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-08-28 15:10:23 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-08-28 15:10:23 +0000 |
commit | 6e37355ed2771e42942fc9fcd3556b9f4fd97743 (patch) | |
tree | 3fbc6c415c5de327784711cb7f3b509ba8a25fa0 /generator/pamtris | |
parent | 19f595718e2766cf7f7c23b1ed04b475546fce04 (diff) | |
download | netpbm-mirror-6e37355ed2771e42942fc9fcd3556b9f4fd97743.tar.gz netpbm-mirror-6e37355ed2771e42942fc9fcd3556b9f4fd97743.tar.xz netpbm-mirror-6e37355ed2771e42942fc9fcd3556b9f4fd97743.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3306 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator/pamtris')
-rw-r--r-- | generator/pamtris/triangle.c | 4 |
1 files changed, 1 insertions, 3 deletions
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]); |