summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-03-13 13:18:15 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-05-03 18:44:49 +0200
commita4c3e915be0b075658021e9fa43c3a2d3c1584d7 (patch)
tree508f460096bbbc2c47768b02336f53352393ae8f
parentb23927598967edec7b9d3e6023158fe40da69759 (diff)
Added missing signature.
-rw-r--r--platform/javascript/js/libs/library_godot_display.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/js/libs/library_godot_display.js b/platform/javascript/js/libs/library_godot_display.js
index 54d48643db..5997631bf8 100644
--- a/platform/javascript/js/libs/library_godot_display.js
+++ b/platform/javascript/js/libs/library_godot_display.js
@@ -462,6 +462,7 @@ const GodotDisplay = {
GodotRuntime.setHeapValue(height, window.screen.height * scale, 'i32');
},
+ godot_js_display_window_size_get__sig: 'vii',
godot_js_display_window_size_get: function (p_width, p_height) {
GodotRuntime.setHeapValue(p_width, GodotConfig.canvas.width, 'i32');
GodotRuntime.setHeapValue(p_height, GodotConfig.canvas.height, 'i32');