mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
HTML5: Print without color control sequences
This commit is contained in:
parent
4c23f94af9
commit
efdca59a03
1 changed files with 5 additions and 0 deletions
|
|
@ -989,6 +989,7 @@ bool OS_JavaScript::is_userfs_persistent() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
OS_JavaScript::OS_JavaScript(const char *p_execpath, GetUserDataDirFunc p_get_user_data_dir_func) {
|
OS_JavaScript::OS_JavaScript(const char *p_execpath, GetUserDataDirFunc p_get_user_data_dir_func) {
|
||||||
|
|
||||||
set_cmdline(p_execpath, get_cmdline_args());
|
set_cmdline(p_execpath, get_cmdline_args());
|
||||||
main_loop = NULL;
|
main_loop = NULL;
|
||||||
gl_extensions = NULL;
|
gl_extensions = NULL;
|
||||||
|
|
@ -1001,6 +1002,10 @@ OS_JavaScript::OS_JavaScript(const char *p_execpath, GetUserDataDirFunc p_get_us
|
||||||
|
|
||||||
idbfs_available = false;
|
idbfs_available = false;
|
||||||
time_to_save_sync = -1;
|
time_to_save_sync = -1;
|
||||||
|
|
||||||
|
Vector<Logger *> loggers;
|
||||||
|
loggers.push_back(memnew(StdLogger));
|
||||||
|
_set_logger(memnew(CompositeLogger(loggers)));
|
||||||
}
|
}
|
||||||
|
|
||||||
OS_JavaScript::~OS_JavaScript() {
|
OS_JavaScript::~OS_JavaScript() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue