diff options
Diffstat (limited to 'platform/osx/os_osx.mm')
-rw-r--r-- | platform/osx/os_osx.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index 1c0d1f9991..55ef6c1516 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -1245,6 +1245,10 @@ void OS_OSX::get_fullscreen_mode_list(List<VideoMode> *p_list,int p_screen) cons } +Size2 OS_OSX::get_window_size() const { + return Vector2(current_videomode.width, current_videomode.height); +} + void OS_OSX::move_window_to_foreground() { [window_object orderFrontRegardless]; |