mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
ANd one more warning
This commit is contained in:
parent
8f2435daf0
commit
91bed86b32
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ public:
|
|||
|
||||
srcPixel.x = floor(srcCoord.x * srcFaceWidth);
|
||||
// Flip the vertical axis to QImage going top to bottom
|
||||
srcPixel.y = floor((1.0 - srcCoord.y) * srcFaceHeight);
|
||||
srcPixel.y = floor((1.0f - srcCoord.y) * srcFaceHeight);
|
||||
|
||||
if (((uint32) srcPixel.x < (uint32) source.width()) && ((uint32) srcPixel.y < (uint32) source.height())) {
|
||||
image.setPixel(x, y, source.pixel(QPoint(srcPixel.x, srcPixel.y)));
|
||||
|
|
Loading…
Reference in a new issue