Win32: PostQuitMessage instead of exit on VK_ESCAPE
This commit is contained in:
parent
716f5d5c65
commit
f78bd0dcd4
1 changed files with 1 additions and 1 deletions
|
|
@ -1094,7 +1094,7 @@ void VulkanExampleBase::handleMessages(HWND hWnd, UINT uMsg, WPARAM wParam, LPAR
|
|||
}
|
||||
break;
|
||||
case VK_ESCAPE:
|
||||
exit(0);
|
||||
PostQuitMessage(0);
|
||||
break;
|
||||
}
|
||||
keyPressed((uint32_t)wParam);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue