| 554 | } |
| 555 | |
| 556 | Config::Resolution getDesktopResolution() |
| 557 | { |
| 558 | const auto displayIndex = _window != nullptr ? getDisplayIndex(SDL_GetDisplayForWindow(_window)) : Config::get().display.index; |
| 559 | return getDesktopResolution(displayIndex); |
| 560 | } |
| 561 | |
| 562 | static Config::Resolution getDesktopResolution(uint32_t displayIndex) |
| 563 | { |
no test coverage detected