| 388 | } |
| 389 | |
| 390 | void ReinitializeIntegerScale() |
| 391 | { |
| 392 | if (*sgOptions.Graphics.fitToScreen) { |
| 393 | ResizeWindow(); |
| 394 | return; |
| 395 | } |
| 396 | |
| 397 | if (renderer != nullptr && SDL_RenderSetIntegerScale(renderer, *sgOptions.Graphics.integerScaling ? SDL_TRUE : SDL_FALSE) < 0) { |
| 398 | ErrSdl(); |
| 399 | } |
| 400 | } |
| 401 | #endif |
| 402 | |
| 403 | void ReinitializeRenderer() |
nothing calls this directly
no test coverage detected