| 802 | |
| 803 | #if !(defined(__APPLE__) && defined(__MACH__)) |
| 804 | void toggleFullscreenDesktop() |
| 805 | { |
| 806 | auto flags = SDL_GetWindowFlags(_window); |
| 807 | if (flags & SDL_WINDOW_FULLSCREEN) |
| 808 | { |
| 809 | setDisplayMode(Config::ScreenMode::window); |
| 810 | } |
| 811 | else |
| 812 | { |
| 813 | setDisplayMode(Config::ScreenMode::fullscreenBorderless); |
| 814 | } |
| 815 | } |
| 816 | #endif |
| 817 | |
| 818 | // 0x004CD422 |
no test coverage detected