wrong function, changing..
This commit is contained in:
parent
8ea7e3e2b1
commit
42d41a3fbc
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue