* Switches old/new display options for temporarily * testing a new display setup. */
| 632 | * testing a new display setup. |
| 633 | */ |
| 634 | void switchDisplay() |
| 635 | { |
| 636 | std::swap(displayWidth, newDisplayWidth); |
| 637 | std::swap(displayHeight, newDisplayHeight); |
| 638 | std::swap(useOpenGL, newOpenGL); |
| 639 | std::swap(useScaleFilter, newScaleFilter); |
| 640 | std::swap(battlescapeScale, newBattlescapeScale); |
| 641 | std::swap(geoscapeScale, newGeoscapeScale); |
| 642 | std::swap(useHQXFilter, newHQXFilter); |
| 643 | std::swap(useOpenGLShader, newOpenGLShader); |
| 644 | } |
| 645 | |
| 646 | } |
| 647 | } |
no outgoing calls
no test coverage detected