| 698 | } |
| 699 | |
| 700 | void SystemWindow::CaptureMouse( const bool need_capture ) |
| 701 | { |
| 702 | if( need_capture != mouse_captured_ ) |
| 703 | { |
| 704 | mouse_captured_= need_capture; |
| 705 | SDL_SetRelativeMouseMode( need_capture ? SDL_TRUE : SDL_FALSE ); |
| 706 | } |
| 707 | } |
| 708 | |
| 709 | void SystemWindow::GetVideoModes() |
| 710 | { |