diff options
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r-- | video/out/w32_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index addc46bf0e..541000a7f9 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -579,6 +579,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, return 0; case WM_DESTROY: w32->destroyed = true; + w32->window = NULL; PostQuitMessage(0); return 0; case WM_SYSCOMMAND: |