diff options
Diffstat (limited to 'core/os/os.h')
| -rw-r--r-- | core/os/os.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h index 5fd2bd6c25..76dd235d24 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -60,6 +60,7 @@ class OS { int _target_fps; float _time_scale; bool _pixel_snap; + bool _allow_hidpi; char *last_error; @@ -418,6 +419,7 @@ public: virtual void set_context(int p_context); + bool is_hidpi_allowed() const { return _allow_hidpi; } OS(); virtual ~OS(); |
