mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 11:14:17 +00:00
javascript build fix
This commit is contained in:
parent
68e42f53ba
commit
8ea7e3e2b1
2 changed files with 7 additions and 0 deletions
|
|
@ -230,6 +230,12 @@ OS::VideoMode OS_JavaScript::get_video_mode(int p_screen) const {
|
|||
|
||||
return default_videomode;
|
||||
}
|
||||
|
||||
Size2 OS_JavaScript::get_screen_size(int p_screen) const {
|
||||
|
||||
return Vector2(default_videomode.width,default_videomode.height);
|
||||
}
|
||||
|
||||
void OS_JavaScript::get_fullscreen_mode_list(List<VideoMode> *p_list,int p_screen) const {
|
||||
|
||||
p_list->push_back(default_videomode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue