mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-11 17:19:08 +08:00
Merge pull request #548 from google/draco_js_fixes
Fix some javascript issues.
This commit is contained in:
commit
9fe2b3110e
@ -674,8 +674,6 @@ if(EMSCRIPTEN AND ENABLE_JS_GLUE)
|
||||
require_compiler_flag("-s PRECISE_F32=1" YES)
|
||||
if(ENABLE_WASM)
|
||||
require_compiler_flag("-s WASM=1" YES)
|
||||
else()
|
||||
require_compiler_flag("-s ELIMINATE_DUPLICATE_FUNCTIONS=1" YES)
|
||||
endif()
|
||||
if(IE_COMPATIBLE)
|
||||
require_compiler_flag("-s LEGACY_VM_SUPPORT=1" YES)
|
||||
|
@ -8,7 +8,7 @@ interface DecoderBuffer {
|
||||
|
||||
enum draco_StatusCode {
|
||||
"draco_Status::OK",
|
||||
"draco_Status::ERROR",
|
||||
"draco_Status::DRACO_ERROR",
|
||||
"draco_Status::IO_ERROR",
|
||||
"draco_Status::INVALID_PARAMETER",
|
||||
"draco_Status::UNSUPPORTED_VERSION",
|
||||
|
@ -97,7 +97,7 @@ interface Metadata {
|
||||
|
||||
enum draco_StatusCode {
|
||||
"draco_Status::OK",
|
||||
"draco_Status::ERROR",
|
||||
"draco_Status::DRACO_ERROR",
|
||||
"draco_Status::IO_ERROR",
|
||||
"draco_Status::INVALID_PARAMETER",
|
||||
"draco_Status::UNSUPPORTED_VERSION",
|
||||
|
Loading…
x
Reference in New Issue
Block a user