diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-30 15:53:08 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-30 16:46:57 +0300 |
commit | e190b70946b776cb105f8987c4cf1ec5157e75d0 (patch) | |
tree | 9e54a2d1af841af257c8769434473d4b5b651d54 /intern/ghost/intern/GHOST_WindowWayland.cpp | |
parent | e75f3e3febc413a75af0c855c3fce0864d2191e6 (diff) |
Cleanup: declare GHOST/Wayland methods const
Needed when called by functions that are const too.
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowWayland.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWayland.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cpp index a1936d3667c..27c2a09465d 100644 --- a/intern/ghost/intern/GHOST_WindowWayland.cpp +++ b/intern/ghost/intern/GHOST_WindowWayland.cpp @@ -591,12 +591,12 @@ bool GHOST_WindowWayland::outputs_leave(output_t *reg_output) return true; } -uint16_t GHOST_WindowWayland::dpi() +uint16_t GHOST_WindowWayland::dpi() const { return w->dpi; } -int GHOST_WindowWayland::scale() +int GHOST_WindowWayland::scale() const { return w->scale; } |