diff options
| -rw-r--r-- | demos/cube.c | 3 | ||||
| -rw-r--r-- | demos/tri.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/demos/cube.c b/demos/cube.c index 6637bce8..b1c4c6f1 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -1944,6 +1944,9 @@ LRESULT CALLBACK WndProc(HWND hWnd, case WM_PAINT: demo_run(&demo); break; + case WM_SIZE: + demo_resize(&demo); + break; default: break; } diff --git a/demos/tri.c b/demos/tri.c index fa995490..9b512aef 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -1569,6 +1569,9 @@ LRESULT CALLBACK WndProc(HWND hWnd, demo_run(&demo); break; } + case WM_SIZE: + demo_resize(&demo); + break; default: break; } |
