Merge branch 'master' of https://github.com/okamstudio/godot
This commit is contained in:
commit
c7426717d3
@ -227,8 +227,8 @@ uint64_t OS_Unix::get_system_time_msec() const {
|
||||
struct timeval tv_now;
|
||||
gettimeofday(&tv_now, NULL);
|
||||
//localtime(&tv_now.tv_usec);
|
||||
localtime((const long *)&tv_now.tv_usec);
|
||||
uint64_t msec = tv_now.tv_usec/1000;
|
||||
//localtime((const long *)&tv_now.tv_usec);
|
||||
uint64_t msec = uint64_t(tv_now.tv_sec)*1000+tv_now.tv_usec/1000;
|
||||
return msec;
|
||||
}
|
||||
|
||||
|
@ -37,6 +37,7 @@ def get_flags():
|
||||
return [
|
||||
('tools', 'no'),
|
||||
('webp', 'yes'),
|
||||
("theora","no"),
|
||||
('openssl','builtin'), #use builtin openssl
|
||||
]
|
||||
|
||||
|
@ -31,6 +31,7 @@ def get_flags():
|
||||
('opengl', 'no'),
|
||||
('legacygl', 'yes'),
|
||||
('builtin_zlib', 'no'),
|
||||
("theora","no"),
|
||||
('freetype','builtin'), #use builtin freetype
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user