Skip to content

Commit

Permalink
Merge pull request #191 from sacereda/fix-usdc-writer
Browse files Browse the repository at this point in the history
Fix compilation when disabling USDC writer
  • Loading branch information
syoyo authored Oct 3, 2024
2 parents 53621eb + 4033e0c commit 65e2d35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/usdc-writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,10 @@ bool SaveAsUSDCToMemory(const Stage &stage, std::vector<uint8_t> *output,
namespace tinyusdz {
namespace usdc {

bool SaveAsUSDCToFile(const std::string &filename, const Scene &scene,
bool SaveAsUSDCToFile(const std::string &filename, const Stage &stage,
std::string *warn, std::string *err) {
(void)filename;
(void)scene;
(void)stage;
(void)warn;

if (err) {
Expand All @@ -580,9 +580,9 @@ bool SaveAsUSDCToFile(const std::string &filename, const Scene &scene,
return false;
}

bool SaveAsUSDCToMemory(const Scene &scene, std::vector<uint8_t> *output,
bool SaveAsUSDCToMemory(const Stage &stage, std::vector<uint8_t> *output,
std::string *warn, std::string *err) {
(void)scene;
(void)stage;
(void)output;
(void)warn;

Expand Down

0 comments on commit 65e2d35

Please sign in to comment.