Skip to content

Commit

Permalink
Merge pull request google#548 from google/draco_js_fixes
Browse files Browse the repository at this point in the history
Fix some javascript issues.
  • Loading branch information
tomfinegan committed Aug 27, 2019
2 parents a8f6698 + 092426c commit 9fe2b31
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/draco/javascript/emscripten/draco_web_decoder.idl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9fe2b31

Please sign in to comment.