Skip to content

Commit

Permalink
GPUDump: Fix unknown compression type reported with Zstandard
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 5, 2024
1 parent 3952661 commit 2044e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/gpu_dump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ bool GPUDump::Recorder::Compress(const std::string& source_path, GPUDumpCompress
return false;
}
}
if (mode >= GPUDumpCompressionMode::XZLow && mode <= GPUDumpCompressionMode::XZHigh)
else if (mode >= GPUDumpCompressionMode::XZLow && mode <= GPUDumpCompressionMode::XZHigh)
{
const int clevel =
((mode == GPUDumpCompressionMode::XZLow) ? 3 : ((mode == GPUDumpCompressionMode::ZstHigh) ? 9 : 5));
Expand Down

0 comments on commit 2044e35

Please sign in to comment.