diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-04-02 15:03:14 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-04-02 15:03:14 -0300 |
commit | 42d41a3fbc79ff1014d3b65666d6f80240520c8c (patch) | |
tree | 4005abbe39fa6ec683fc4eee93bb1d1405a328b4 | |
parent | 8ea7e3e2b1b8f427a4023fec4626bad2a7de7585 (diff) |
wrong function, changing..
-rw-r--r-- | platform/javascript/os_javascript.cpp | 2 | ||||
-rw-r--r-- | platform/javascript/os_javascript.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/javascript/os_javascript.cpp b/platform/javascript/os_javascript.cpp index f9ed752835..4c8d8a4205 100644 --- a/platform/javascript/os_javascript.cpp +++ b/platform/javascript/os_javascript.cpp @@ -231,7 +231,7 @@ OS::VideoMode OS_JavaScript::get_video_mode(int p_screen) const { return default_videomode; } -Size2 OS_JavaScript::get_screen_size(int p_screen) const { +Size2 OS_JavaScript::get_window_size() const { return Vector2(default_videomode.width,default_videomode.height); } diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h index 681d85475c..2e9c8e14c2 100644 --- a/platform/javascript/os_javascript.h +++ b/platform/javascript/os_javascript.h @@ -127,7 +127,7 @@ public: virtual VideoMode get_video_mode(int p_screen=0) const; virtual void get_fullscreen_mode_list(List<VideoMode> *p_list,int p_screen=0) const; - virtual Size2 get_screen_size(int p_screen=0) const; + virtual Size2 get_window_size() const; virtual String get_name(); virtual MainLoop *get_main_loop() const; |