diff options
| author | Kenneth Lorthioir | 2017-02-08 18:07:35 -0500 |
|---|---|---|
| committer | Kenneth Lorthioir | 2017-02-08 18:14:52 -0500 |
| commit | 6961ed21bb6e1ce082eef33ebcd5b9cfed270634 (patch) | |
| tree | 3951aa2bfb9db397c54a8c5deed443a467601841 /platform | |
| parent | b19c9bd1983b8c72621595b7c22daade4ebf6625 (diff) | |
| download | godot-6961ed21bb6e1ce082eef33ebcd5b9cfed270634.tar.gz godot-6961ed21bb6e1ce082eef33ebcd5b9cfed270634.tar.zst godot-6961ed21bb6e1ce082eef33ebcd5b9cfed270634.zip | |
Fixed compilation issues with Visual Studio
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/windows/os_windows.cpp | 5 | ||||
| -rw-r--r-- | platform/windows/os_windows.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index b230dda9c..d26575d33 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -2395,6 +2395,11 @@ bool OS_Windows::is_vsync_enabled() const{ return true; } +bool OS_Windows::check_feature_support(const String& p_feature) { + + return VisualServer::get_singleton()->has_os_feature(p_feature); + +} OS_Windows::OS_Windows(HINSTANCE _hInstance) { diff --git a/platform/windows/os_windows.h b/platform/windows/os_windows.h index 2c8fa64f8..4314b340c 100644 --- a/platform/windows/os_windows.h +++ b/platform/windows/os_windows.h @@ -286,6 +286,8 @@ public: virtual void set_use_vsync(bool p_enable); virtual bool is_vsync_enabled() const; + virtual bool check_feature_support(const String& p_feature); + OS_Windows(HINSTANCE _hInstance); ~OS_Windows(); |
