| 133 | } |
| 134 | |
| 135 | SDL_Surface *GetOutputSurface() |
| 136 | { |
| 137 | #ifdef USE_SDL1 |
| 138 | return SDL_GetVideoSurface(); |
| 139 | #else |
| 140 | if (renderer) |
| 141 | return renderer_texture_surface; |
| 142 | return SDL_GetWindowSurface(window); |
| 143 | #endif |
| 144 | } |
| 145 | |
| 146 | bool OutputRequiresScaling() |
| 147 | { |
no outgoing calls
no test coverage detected