freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype-demos][master] [graph/win32] Consolidate resizin


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype-demos][master] [graph/win32] Consolidate resizing calls.
Date: Sat, 01 Jan 2022 19:59:26 +0000

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

Commits:

1 changed file:

Changes:

  • graph/win32/grwin32.c
    ... ... @@ -378,6 +378,9 @@ gr_win32_surface_listen_event( grWin32Surface* surface,
    378 378
         switch ( msg.message )
    
    379 379
         {
    
    380 380
         case WM_RESIZE:
    
    381
    +      while( PeekMessage( &msg, (HWND)-1, WM_RESIZE, WM_RESIZE, PM_REMOVE ) )
    
    382
    +        continue;
    
    383
    +
    
    381 384
           {
    
    382 385
             int  width  = LOWORD(msg.lParam);
    
    383 386
             int  height = HIWORD(msg.lParam);
    


  • reply via email to

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