----------------------------------------------------------------------------- Purpose: -----------------------------------------------------------------------------
| 1647 | // Purpose: |
| 1648 | //----------------------------------------------------------------------------- |
| 1649 | void CMainApplication::RunMainLoop() |
| 1650 | { |
| 1651 | bool bQuit = false; |
| 1652 | |
| 1653 | SDL_StartTextInput(); |
| 1654 | SDL_ShowCursor( SDL_DISABLE ); |
| 1655 | |
| 1656 | while ( !bQuit ) |
| 1657 | { |
| 1658 | bQuit = HandleInput(); |
| 1659 | |
| 1660 | RenderFrame(); |
| 1661 | } |
| 1662 | |
| 1663 | SDL_StopTextInput(); |
| 1664 | } |
| 1665 | |
| 1666 | //----------------------------------------------------------------------------- |
| 1667 | // Purpose: Processes a single VR event |