Fixed enumeral mismatch error in build.

pull/2958/head
Marc-Antoine Lortie 2020-01-26 14:02:16 -05:00
parent b23c0b0637
commit ab284f7996
1 changed files with 2 additions and 2 deletions

View File

@ -364,8 +364,8 @@ int Assimp_Extract (const char* const* params, unsigned int num)
if (!tex->mHeight) { if (!tex->mHeight) {
m = (1 != fwrite(tex->pcData,tex->mWidth,1,p)) m = (1 != fwrite(tex->pcData,tex->mWidth,1,p))
? AssimpCmdError::Success ? static_cast<int>(AssimpCmdError::Success)
: AssimpCmdExtractError::FailedToExportCompressedTexture; : static_cast<int>(AssimpCmdExtractError::FailedToExportCompressedTexture);
} }
else m = DoExport(tex,p,extension,flags); else m = DoExport(tex,p,extension,flags);
::fclose(p); ::fclose(p);