| 144 | } |
| 145 | |
| 146 | bool OutputRequiresScaling() |
| 147 | { |
| 148 | #ifdef USE_SDL1 |
| 149 | return SCREEN_WIDTH != GetOutputSurface()->w || SCREEN_HEIGHT != GetOutputSurface()->h; |
| 150 | #else // SDL2, scaling handled by renderer. |
| 151 | return false; |
| 152 | #endif |
| 153 | } |
| 154 | |
| 155 | void ScaleOutputRect(SDL_Rect *rect) |
| 156 | { |
no test coverage detected