///////////////////////////////////////////////////////
| 528 | |
| 529 | //////////////////////////////////////////////////////////// |
| 530 | void WindowImplWin32::cleanup() |
| 531 | { |
| 532 | // Restore the previous video mode (in case we were running in fullscreen) |
| 533 | if (fullscreenWindow == this) |
| 534 | { |
| 535 | ChangeDisplaySettingsW(nullptr, 0); |
| 536 | fullscreenWindow = nullptr; |
| 537 | } |
| 538 | |
| 539 | // Unhide the mouse cursor (in case it was hidden) |
| 540 | setMouseCursorVisible(true); |
| 541 | |
| 542 | // No longer track the cursor |
| 543 | setTracking(false); |
| 544 | |
| 545 | // No longer capture the cursor |
| 546 | ReleaseCapture(); |
| 547 | } |
| 548 | |
| 549 | |
| 550 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected