mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-18 06:37:12 +02:00
Fixed bug
This commit is contained in:
parent
d2011481bf
commit
92c406fc65
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ QImage image::readOpenEXR(QIODevice& content, const std::string& filename) {
|
|||
auto packHDRPixel = getHDRPackingFunction();
|
||||
|
||||
for (int y = 0; y < height; y++) {
|
||||
const auto srcScanline = pixels[height];
|
||||
const auto srcScanline = pixels[y];
|
||||
gpu::uint32* dstScanline = (gpu::uint32*) image.scanLine(y);
|
||||
|
||||
for (int x = 0; x < width; x++) {
|
||||
|
|
Loading…
Reference in a new issue