mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 22:09:06 +02:00
Fixing the compilation issue
This commit is contained in:
parent
6a714f405c
commit
2875cb99bb
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ gpu::Texture* TextureSource::createCubeTextureFromImage(const QImage& srcImage,
|
|||
faces.push_back(image.copy(QRect(layout._faceZNeg._x * faceWidth, layout._faceZNeg._y * faceWidth, faceWidth, faceWidth)).mirrored(layout._faceZNeg._horizontalMirror, layout._faceZNeg._verticalMirror));
|
||||
} else {
|
||||
qCDebug(modelLog) << "Failed to find a known cube map layout from this image:" << QString(srcImageName.c_str());
|
||||
return;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// If the 6 faces have been created go on and define the true Texture
|
||||
|
|
Loading…
Reference in a new issue