mirror of
https://github.com/godotengine/godot.git
synced 2025-10-23 09:53:25 +00:00
WebGL 2 export per WebAssembly or asm.js
This commit is contained in:
parent
efaeebab4d
commit
7df7e9cc8b
11 changed files with 282 additions and 448 deletions
|
@ -761,7 +761,7 @@ String OS_JavaScript::get_data_dir() const {
|
|||
|
||||
String OS_JavaScript::get_executable_path() const {
|
||||
|
||||
return String();
|
||||
return OS::get_executable_path();
|
||||
}
|
||||
|
||||
void OS_JavaScript::_close_notification_funcs(const String &p_file, int p_flags) {
|
||||
|
@ -839,7 +839,8 @@ int OS_JavaScript::get_power_percent_left() {
|
|||
return power_manager->get_power_percent_left();
|
||||
}
|
||||
|
||||
OS_JavaScript::OS_JavaScript(GFXInitFunc p_gfx_init_func, void *p_gfx_init_ud, GetDataDirFunc p_get_data_dir_func) {
|
||||
OS_JavaScript::OS_JavaScript(const char *p_execpath, GFXInitFunc p_gfx_init_func, void *p_gfx_init_ud, GetDataDirFunc p_get_data_dir_func) {
|
||||
set_cmdline(p_execpath, get_cmdline_args());
|
||||
gfx_init_func = p_gfx_init_func;
|
||||
gfx_init_ud = p_gfx_init_ud;
|
||||
last_button_mask = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue