| 551 | } |
| 552 | |
| 553 | cDimension cWindow::GetScale() const { |
| 554 | cDimension Result = GetWindowSize() / GetScreenSize(); |
| 555 | if (Result.mHeight == 0) |
| 556 | Result.mHeight = 1; |
| 557 | if (Result.mWidth == 0) |
| 558 | Result.mWidth = 1; |
| 559 | return Result; |
| 560 | } |
| 561 | |
| 562 | int cWindow::GetRefreshRate() { |
| 563 | SDL_DisplayMode mode; |
no outgoing calls
no test coverage detected