MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / ToggleWindowedMode

Function ToggleWindowedMode

src/openrct2/drawing/Drawing.cpp:908–914  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906}
907
908void ToggleWindowedMode()
909{
910 int32_t rt = Config::Get().general.fullscreenMode == 0 ? 2 : 0;
911 ContextSetFullscreenMode(rt);
912 Config::Get().general.fullscreenMode = rt;
913 Config::Save();
914}
915
916void DebugRT(RenderTarget& rt)
917{

Callers

nothing calls this directly

Calls 2

ContextSetFullscreenModeFunction · 0.85
SaveFunction · 0.85

Tested by

no test coverage detected