mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 19:23:04 +02:00
Fixed small bug
This commit is contained in:
parent
311f3f43ac
commit
a93a081a9d
1 changed files with 0 additions and 3 deletions
|
@ -1427,9 +1427,6 @@ gpu::TexturePointer TextureUsage::processCubeTextureColorFromImage(QImage&& srcI
|
|||
// If the target format isn't HDR (such as on GLES) but the image is, we need to
|
||||
// convert the image to LDR
|
||||
image = convertToLDRFormat(std::move(image), targetCubemapFormat);
|
||||
} else {
|
||||
// Else make sure we have a basic RGB 8bit per component image
|
||||
image = image.convertToFormat(QImage::Format_ARGB32);
|
||||
}
|
||||
|
||||
gpu::Element formatMip;
|
||||
|
|
Loading…
Reference in a new issue