diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-12-16 17:09:25 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-12-16 17:11:02 -0300 |
commit | 652c98a7beb8fc8a8aad5075a673caf21994a2ba (patch) | |
tree | caa203abb2bcdb839f6bc7568d7119aa948120db /servers/visual/visual_server_raster.h | |
parent | d03f35f1bc0ecf09d436ebb44356f8add5b95a3e (diff) |
Add epic hack so vsync can be toggled in run-time from script. Fixes #14458.
Call needs to be routed via visual server to reach the proper thread.
Diffstat (limited to 'servers/visual/visual_server_raster.h')
-rw-r--r-- | servers/visual/visual_server_raster.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/visual_server_raster.h b/servers/visual/visual_server_raster.h index a0e79e9d3e..716c1754e1 100644 --- a/servers/visual/visual_server_raster.h +++ b/servers/visual/visual_server_raster.h @@ -668,6 +668,8 @@ public: virtual bool has_os_feature(const String &p_feature) const; virtual void set_debug_generate_wireframes(bool p_generate); + virtual void call_set_use_vsync(bool p_enable); + VisualServerRaster(); ~VisualServerRaster(); |