diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-15 18:49:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-15 18:49:15 +0300 |
commit | b266b1034f95b9007433cb8f0544aee900ddd208 (patch) | |
tree | 6d5d76447f46708d633717676aa4b046ad6d33fe /source/blender/windowmanager/intern/wm_window.c | |
parent | 0384cc6f7805ec6b7c4b36c12911c6f1448073bf (diff) |
Cleanup: quiet warnings
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 020589dcf3d..937cc8e7467 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -494,7 +494,7 @@ void wm_window_title(wmWindowManager *wm, wmWindow *win) } } -void WM_window_set_dpi(wmWindow *win) +void WM_window_set_dpi(const wmWindow *win) { float auto_dpi = GHOST_GetDPIHint(win->ghostwin); @@ -2186,12 +2186,12 @@ void WM_window_screen_rect_calc(const wmWindow *win, rcti *r_rect) *r_rect = screen_rect; } -bool WM_window_is_fullscreen(wmWindow *win) +bool WM_window_is_fullscreen(const wmWindow *win) { return win->windowstate == GHOST_kWindowStateFullScreen; } -bool WM_window_is_maximized(wmWindow *win) +bool WM_window_is_maximized(const wmWindow *win) { return win->windowstate == GHOST_kWindowStateMaximized; } |