MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ChangeResolution

Method ChangeResolution

src/video/sdl2_v.cpp:685–688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683}
684
685bool VideoDriver_SDL_Base::ChangeResolution(int w, int h)
686{
687 return CreateMainSurface(w, h, true);
688}
689
690bool VideoDriver_SDL_Base::ToggleFullscreen(bool fullscreen)
691{

Callers 1

ChangeResInGameFunction · 0.45

Calls 1

CreateMainSurfaceFunction · 0.85

Tested by

no test coverage detected