Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
7706a595
by Alexei Podtelezhnikov at 2022-01-01T14:54:59-05:00
1 changed file:
Changes:
... | ... | @@ -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);
|