Tkap1

Untitled

Jun 21st, 2022 (edited)
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. case WM_SIZE:
  2. {
  3.     UINT width = LOWORD(lParam);
  4.     UINT height = HIWORD(lParam);
  5.     if(width <= 0 || height <= 0) { break; }
  6.    
  7.     // rest of the code here, dont call "platform_get_window_size"
  8. } break;
Add Comment
Please, Sign In to add comment