Fixed enumeral mismatch error in build.
parent
b23c0b0637
commit
ab284f7996
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue