1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

[HTML5] Implement WebGL fallback.

According to project settings and when WebGL2 is not available.
This does nothing in current master, as we have no rendering yet!
This commit is contained in:
Fabio Alessandrelli
2021-04-06 12:46:33 +02:00
parent 45f0b5db28
commit 34fd48f68d
2 changed files with 12 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ extern int godot_js_display_fullscreen_exit();
extern void godot_js_display_compute_position(int p_x, int p_y, int32_t *r_x, int32_t *r_y);
extern void godot_js_display_window_title_set(const char *p_text);
extern void godot_js_display_window_icon_set(const uint8_t *p_ptr, int p_len);
extern int godot_js_display_has_webgl(int p_version);
// Display clipboard
extern int godot_js_display_clipboard_set(const char *p_text);