You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Added support for vertical syncing via the Windows OS compositor (DWM.)
This commit is contained in:
committed by
Rémi Verschelde
parent
10481046e5
commit
e1dda5195c
@@ -572,6 +572,14 @@ bool OS::is_vsync_enabled() const {
|
||||
return _use_vsync;
|
||||
}
|
||||
|
||||
void OS::set_vsync_via_compositor(bool p_enable) {
|
||||
_vsync_via_compositor = p_enable;
|
||||
}
|
||||
|
||||
bool OS::is_vsync_via_compositor_enabled() const {
|
||||
return _vsync_via_compositor;
|
||||
}
|
||||
|
||||
OS::PowerState OS::get_power_state() {
|
||||
return POWERSTATE_UNKNOWN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user