freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master c62027d91: * src/raster/ftraster.c (Draw_Sweep): No-f


From: Werner Lemberg
Subject: [freetype2] master c62027d91: * src/raster/ftraster.c (Draw_Sweep): No-fault return.
Date: Tue, 21 Nov 2023 11:54:41 -0500 (EST)

branch: master
commit c62027d910167ed81136cbc81e5daa8f37250f5b
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    * src/raster/ftraster.c (Draw_Sweep): No-fault return.
    (Render_Single_Pass): Updated.
---
 src/raster/ftraster.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c
index 9b2383d84..7c143b9d7 100644
--- a/src/raster/ftraster.c
+++ b/src/raster/ftraster.c
@@ -2232,7 +2232,7 @@
    *
    */
 
-  static Bool
+  static void
   Draw_Sweep( RAS_ARG )
   {
     Int           min_Y, max_Y, dropouts;
@@ -2424,8 +2424,6 @@
       }
       while ( ++y < y_turn );
     }
-
-    return SUCCESS;
   }
 
 
@@ -2578,8 +2576,7 @@
                     (char*)ras.maxBuff - (char*)ras.top ));
 
         if ( ras.fProfile )
-          if ( Draw_Sweep( RAS_VAR ) )
-             return ras.error;
+          Draw_Sweep( RAS_VAR );
 
         if ( --band_top < 0 )
           break;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]