diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-03-08 19:31:52 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-03-08 23:37:53 +0100 |
commit | f34c7982c546748c7649e76f8e605ae5ca7a17a8 (patch) | |
tree | f868b73af9c002b9f4136617bce98ff6f1153ae4 /platform/javascript/godot_js.h | |
parent | b6e97c10adeccbad99e0acdd93d93de3057c0ea6 (diff) | |
download | redot-engine-f34c7982c546748c7649e76f8e605ae5ca7a17a8.tar.gz |
[HTML5] Respect allow_hidpi option during setup
The option was forced to `true` before, unlike on other platforms.
Diffstat (limited to 'platform/javascript/godot_js.h')
-rw-r--r-- | platform/javascript/godot_js.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/godot_js.h b/platform/javascript/godot_js.h index 5aa8677a54..f86aadd2c2 100644 --- a/platform/javascript/godot_js.h +++ b/platform/javascript/godot_js.h @@ -92,7 +92,7 @@ extern int godot_js_display_gamepad_sample_get(int p_idx, float r_btns[16], int3 extern void godot_js_display_notification_cb(void (*p_callback)(int p_notification), int p_enter, int p_exit, int p_in, int p_out); extern void godot_js_display_paste_cb(void (*p_callback)(const char *p_text)); extern void godot_js_display_drop_files_cb(void (*p_callback)(char **p_filev, int p_filec)); -extern void godot_js_display_setup_canvas(int p_width, int p_height, int p_fullscreen); +extern void godot_js_display_setup_canvas(int p_width, int p_height, int p_fullscreen, int p_hidpi); #ifdef __cplusplus } #endif |