Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenFodder/openfodder
/ ToggleVSync
Method
ToggleVSync
Source/Window.cpp:108–110 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
106
}
107
108
void cWindow::ToggleVSync(bool pEnabled) {
109
SDL_RenderSetVSync(mRenderer, pEnabled ? 1 : 0);
110
}
111
112
void cWindow::SetRelativeMouseMode(bool pEnable) {
113
Callers
1
Mission_Intro_Play
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected