summaryrefslogtreecommitdiff
path: root/platform/osx/os_osx.mm
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-03-24 09:49:03 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-03-24 09:49:03 -0300
commitba194115bc3e450ac653191b2fc52b89417ddc28 (patch)
treeaf16adefea04bc096855c267933b04943d97a0f6 /platform/osx/os_osx.mm
parentf35315fee24ade08a48451a6a596df60fa5ea9cb (diff)
parenta6f6bd85f982f7b24b71238de302bc534e3d4658 (diff)
Merge pull request #1565 from romulox-x/osx_wm_fix
fixed build error on OSX from new WM code
Diffstat (limited to 'platform/osx/os_osx.mm')
-rw-r--r--platform/osx/os_osx.mm4
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];