freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype-demos][master] 2 commits: Minor.


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype-demos][master] 2 commits: Minor.
Date: Fri, 22 Oct 2021 14:47:05 +0000

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

Commits:

2 changed files:

Changes:

  • graph/graph.h
    ... ... @@ -595,7 +595,7 @@
    595 595
       *   LCD arrangements.
    
    596 596
       *
    
    597 597
       *   This function performs clipping.  It also handles mono and BGRA
    
    598
    -  *   bitmaps without ganna correction.
    
    598
    +  *   bitmaps without gamma correction.
    
    599 599
       *
    
    600 600
       **********************************************************************/
    
    601 601
     
    

  • graph/grblit.c
    ... ... @@ -561,7 +561,7 @@
    561 561
           sat->count = num_grays;
    
    562 562
           sat->table = table;
    
    563 563
     
    
    564
    -      for ( i = 0; i < num_grays; i++, table++ )
    
    564
    +      for ( i = 0; i < num_grays; i++ )
    
    565 565
             table[i] = (byte)i;
    
    566 566
     
    
    567 567
           memset( table+num_grays, num_grays-1, 2*num_grays-1 );
    
    ... ... @@ -1897,4 +1897,15 @@
    1897 1897
       }
    
    1898 1898
     
    
    1899 1899
     
    
    1900
    +  void
    
    1901
    +  grBlitClean( void )
    
    1902
    +  {
    
    1903
    +    while ( gr_num_saturations > 2 )
    
    1904
    +      free( gr_saturations[gr_num_saturations--].table );
    
    1905
    +
    
    1906
    +    while ( gr_num_conversions > 3 )
    
    1907
    +      free( gr_conversions[gr_num_conversions--].table );
    
    1908
    +  }
    
    1909
    +
    
    1910
    +
    
    1900 1911
     /* End */


  • reply via email to

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