GPUDump: Fix unknown compression type reported with Zstandard
This commit is contained in:
parent
3952661978
commit
2044e35377
|
@ -111,7 +111,7 @@ bool GPUDump::Recorder::Compress(const std::string& source_path, GPUDumpCompress
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mode >= GPUDumpCompressionMode::XZLow && mode <= GPUDumpCompressionMode::XZHigh)
|
else if (mode >= GPUDumpCompressionMode::XZLow && mode <= GPUDumpCompressionMode::XZHigh)
|
||||||
{
|
{
|
||||||
const int clevel =
|
const int clevel =
|
||||||
((mode == GPUDumpCompressionMode::XZLow) ? 3 : ((mode == GPUDumpCompressionMode::ZstHigh) ? 9 : 5));
|
((mode == GPUDumpCompressionMode::XZLow) ? 3 : ((mode == GPUDumpCompressionMode::ZstHigh) ? 9 : 5));
|
||||||
|
|
Loading…
Reference in New Issue