MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetVsync

Method SetVsync

Source/Graphics/graphics.cpp:1708–1711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1706}
1707
1708void Graphics::SetVsync(bool val) {
1709 config_.SetVSync(val);
1710 ApplyVsync(val);
1711}
1712
1713void Graphics::SetLimitFpsInGame(bool val) {
1714 config_.SetLimitFpsInGame(val);

Callers 2

DrawSettingsImGuiFunction · 0.80
ReloadStaticSettingsMethod · 0.80

Calls 2

ApplyVsyncFunction · 0.85
SetVSyncMethod · 0.80

Tested by

no test coverage detected