freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype-demos][master] * graph/gblblit.c (grBlitGlyphToS


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype-demos][master] * graph/gblblit.c (grBlitGlyphToSurface): Remove redundant check.
Date: Wed, 17 Aug 2022 18:40:58 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs

Commits:

  • 1f2f7402
    by Alexei Podtelezhnikov at 2022-08-17T18:40:57+00:00
    * graph/gblblit.c (grBlitGlyphToSurface): Remove redundant check.
    
    The rare empty glyphs will be caught later in `gblender_blit_init`.

1 changed file:

Changes:

  • graph/gblblit.c
    ... ... @@ -434,12 +434,6 @@ grBlitGlyphToSurface( grSurface* surface,
    434 434
         return -1;
    
    435 435
       }
    
    436 436
     
    
    437
    -  if ( !glyph->rows || !glyph->width )
    
    438
    -  {
    
    439
    -    /* nothing to do */
    
    440
    -    return 0;
    
    441
    -  }
    
    442
    -
    
    443 437
       switch ( gblender_blit_init( gblit, x, y, surface, glyph ) )
    
    444 438
       {
    
    445 439
       case -1: /* nothing to do */
    


  • reply via email to

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