Minor fixes

This commit is contained in:
SirLynix
2022-04-04 08:17:03 +02:00
parent 83de0939bb
commit 66ff6cfa81
10 changed files with 12 additions and 15 deletions

View File

@@ -30,7 +30,7 @@ QImage PreviewValues::GenerateImage() const
for (std::size_t y = 0; y < 4; ++y)
*ptr++ = static_cast<Nz::UInt8>(std::clamp((*src)[y] * 0xFF, 0.f, 255.f));
*src++;
src++;
}
return preview;